注释类型 DontObfuscate
-
@TypeQualifierDefault({TYPE,METHOD}) @Retention(CLASS) public @interface DontObfuscate
This annotation applies to some unobfuscated elements within the Minecraft source code.Its behavior appears as follows:
- The annotation itself is not obfuscated.
- If a class is annotated, it is not obfuscated. It's not yet clear if its members will always become deobfuscated as well.
- If a member is annotated, it and its containing class is not obfuscated, but other members in the same class may stay obfuscated.
Visit the use page for the usage of this annotation.
In addition, single-abstract-method interfaces used as lambda expressions always have their single abstract method unobfuscated per proguard behavior.
This annotation is not
Documented, and hence will not appear in the generated javadoc for annotated elements.- 另请参阅:
CubicSampler.RgbFetcher,ColorResolver.getColor(net.minecraft.world.biome.Biome, double, double)- Mappings:
Namespace Name official net/minecraft/obfuscate/DontObfuscateintermediary net/minecraft/obfuscate/DontObfuscatenamed net/minecraft/obfuscate/DontObfuscate