All Downloads are FREE. Search and download functionalities are using the official Maven repository.

top.hendrixshen.magiclib.compat.api.annotation.Remap Maven / Gradle / Ivy

package top.hendrixshen.magiclib.compat.api.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * MagicLibMixinPlugin auxiliary annotation.
 *
 * 

Used to manually obfuscate class/method/field names with unspecified values. */ @Retention(RetentionPolicy.RUNTIME) @Target({ElementType.TYPE, ElementType.METHOD, ElementType.FIELD}) public @interface Remap { /** * Obfuscation name. * * @return Obfuscated name. */ String value(); /** * Keep unmapped methods to ensure compatibility. * * @return True if unmapped methods are kept. */ boolean dup() default false; }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy