Class MicromixinCanonicalOverwriteAnnotation
- java.lang.Object
-
- org.stianloader.micromixin.transform.internal.annotation.MixinAnnotation<MixinMethodStub>
-
- org.stianloader.micromixin.transform.internal.annotation.micromixin.MicromixinCanonicalOverwriteAnnotation
-
- All Implemented Interfaces:
java.lang.Comparable<MixinAnnotation<MixinMethodStub>>
@AvailableSince("0.6.4-a20240825") public class MicromixinCanonicalOverwriteAnnotation extends MixinAnnotation<MixinMethodStub>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapply(org.objectweb.asm.tree.ClassNode to, HandlerContextHelper hctx, MixinStub sourceStub, MixinMethodStub source, SimpleRemapper remapper, java.lang.StringBuilder sharedBuilder)voidcollectMappings(MixinMethodStub source, HandlerContextHelper hctx, org.objectweb.asm.tree.ClassNode target, SimpleRemapper remapper, java.lang.StringBuilder sharedBuilder)static MicromixinCanonicalOverwriteAnnotationparse(org.objectweb.asm.tree.ClassNode node, org.objectweb.asm.tree.MethodNode method, org.objectweb.asm.tree.AnnotationNode annot, MixinTransformer<?> transformer, java.lang.StringBuilder sharedBuilder)-
Methods inherited from class org.stianloader.micromixin.transform.internal.annotation.MixinAnnotation
compareTo, isCompatible, validateMixin
-
-
-
-
Method Detail
-
parse
@NotNull public static MicromixinCanonicalOverwriteAnnotation parse(@NotNull org.objectweb.asm.tree.ClassNode node, @NotNull org.objectweb.asm.tree.MethodNode method, @NotNull org.objectweb.asm.tree.AnnotationNode annot, @NotNull MixinTransformer<?> transformer, @NotNull java.lang.StringBuilder sharedBuilder) throws MixinParseException
- Throws:
MixinParseException
-
apply
public void apply(@NotNull org.objectweb.asm.tree.ClassNode to, @NotNull HandlerContextHelper hctx, @NotNull MixinStub sourceStub, @NotNull MixinMethodStub source, @NotNull SimpleRemapper remapper, @NotNull java.lang.StringBuilder sharedBuilder)- Specified by:
applyin classMixinAnnotation<MixinMethodStub>
-
collectMappings
public void collectMappings(@NotNull MixinMethodStub source, @NotNull HandlerContextHelper hctx, @NotNull org.objectweb.asm.tree.ClassNode target, @NotNull SimpleRemapper remapper, @NotNull java.lang.StringBuilder sharedBuilder)- Specified by:
collectMappingsin classMixinAnnotation<MixinMethodStub>
-
-