Class MixinExtrasModifyReturnValueAnnotation
- java.lang.Object
-
- org.stianloader.micromixin.transform.internal.annotation.MixinAnnotation<MixinMethodStub>
-
- org.stianloader.micromixin.transform.internal.annotation.mixinsextras.MixinExtrasModifyReturnValueAnnotation
-
- All Implemented Interfaces:
java.lang.Comparable<MixinAnnotation<MixinMethodStub>>
public class MixinExtrasModifyReturnValueAnnotation extends MixinAnnotation<MixinMethodStub>
-
-
Field Summary
Fields Modifier and Type Field Description java.util.Collection<SlicedInjectionPointSelector>atjava.util.Collection<MixinTargetSelector>selectors
-
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 MixinExtrasModifyReturnValueAnnotationparse(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
-
-
-
-
Field Detail
-
at
@NotNull public final java.util.Collection<SlicedInjectionPointSelector> at
-
selectors
@NotNull public final java.util.Collection<MixinTargetSelector> selectors
-
-
Method Detail
-
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>
-
parse
@NotNull public static MixinExtrasModifyReturnValueAnnotation 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
-
-