mirror of
https://github.com/LegacyModdingMC/UniMix.git
synced 2026-11-23 00:49:44 +00:00
Add remap property to At annotation
This commit is contained in:
1 parent
db3fc70cce
commit
e54843a247
2 files changed
+13
No files matched your search
@@ -102,6 +102,15 @@ public @interface At {
|
||||
* Target opcode for FIELD and JUMP InjectionPoints. See the javadoc for the relevant injection point for more details.
|
||||
*/
|
||||
public int opcode() default -1;
|
||||
|
||||
/**
|
||||
* By default, the annotation processor will attempt to locate an obfuscation mapping for the {@link #target} member and any other {@link #args}
|
||||
* known to contain potentially obfuscated references, since it is anticipated that in general the target of an {@link At} annotation will be an
|
||||
* obfuscated method or field. However since it is also possible that the target is a non-obfuscated reference it may be necessary to suppress the
|
||||
* compiler error which would otherwise be generated. Setting this value to <em>false</em> will cause the annotation processor to skip this
|
||||
* annotation when attempting to build the obfuscation table for the mixin.
|
||||
*/
|
||||
public boolean remap() default true;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user