top.hendrixshen.magiclib.compat.api.annotation.Public Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of magiclib-1_14_4 Show documentation
Show all versions of magiclib-1_14_4 Show documentation
To beat magic with magic :(
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.
*
* Mixin restricts the methods/fields and must be decorated by private.
*
*
For some scenarios where we want to expose these methods/fields,
* decorating them with this annotation will modify their access using ASM.
*/
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD, ElementType.FIELD})
public @interface Public {
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy