Class MixinMethodStub
- java.lang.Object
-
- org.stianloader.micromixin.transform.internal.MixinMethodStub
-
- All Implemented Interfaces:
ClassMemberStub
public class MixinMethodStub extends java.lang.Object implements ClassMemberStub
-
-
Field Summary
Fields Modifier and Type Field Description java.util.Collection<MixinAnnotation<MixinMethodStub>>annotationsMixinLoggingFacadeloggerorg.objectweb.asm.tree.MethodNodemethodorg.objectweb.asm.tree.ClassNodeowner
-
Constructor Summary
Constructors Constructor Description MixinMethodStub(org.objectweb.asm.tree.ClassNode owner, org.objectweb.asm.tree.MethodNode method, java.util.Collection<MixinAnnotation<MixinMethodStub>> annotations, MixinLoggingFacade logger)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapplyTo(org.objectweb.asm.tree.ClassNode target, HandlerContextHelper hctx, MixinStub stub, SimpleRemapper remapper, java.lang.StringBuilder sharedBuilder)voidcollectMappings(org.objectweb.asm.tree.ClassNode target, HandlerContextHelper hctx, MixinStub stub, SimpleRemapper out, java.lang.StringBuilder sharedBuilder)intgetAccess()java.lang.StringgetDesc()MixinLoggingFacadegetLogger()java.lang.StringgetName()org.objectweb.asm.tree.ClassNodegetOwner()static MixinMethodStubparse(org.objectweb.asm.tree.ClassNode node, org.objectweb.asm.tree.MethodNode method, MixinTransformer<?> transformer, java.lang.StringBuilder sharedBuilder)
-
-
-
Field Detail
-
annotations
@NotNull public final java.util.Collection<MixinAnnotation<MixinMethodStub>> annotations
-
logger
@NotNull public final MixinLoggingFacade logger
-
method
@NotNull public final org.objectweb.asm.tree.MethodNode method
-
owner
@NotNull public final org.objectweb.asm.tree.ClassNode owner
-
-
Constructor Detail
-
MixinMethodStub
public MixinMethodStub(@NotNull org.objectweb.asm.tree.ClassNode owner, @NotNull org.objectweb.asm.tree.MethodNode method, @NotNull java.util.Collection<MixinAnnotation<MixinMethodStub>> annotations, @NotNull MixinLoggingFacade logger)
-
-
Method Detail
-
parse
@NotNull public static MixinMethodStub parse(@NotNull org.objectweb.asm.tree.ClassNode node, @NotNull org.objectweb.asm.tree.MethodNode method, @NotNull MixinTransformer<?> transformer, @NotNull java.lang.StringBuilder sharedBuilder)
-
applyTo
public void applyTo(@NotNull org.objectweb.asm.tree.ClassNode target, @NotNull HandlerContextHelper hctx, @NotNull MixinStub stub, @NotNull SimpleRemapper remapper, @NotNull java.lang.StringBuilder sharedBuilder)- Specified by:
applyToin interfaceClassMemberStub
-
collectMappings
public void collectMappings(@NotNull org.objectweb.asm.tree.ClassNode target, @NotNull HandlerContextHelper hctx, @NotNull MixinStub stub, @NotNull SimpleRemapper out, @NotNull java.lang.StringBuilder sharedBuilder)- Specified by:
collectMappingsin interfaceClassMemberStub
-
getAccess
public int getAccess()
- Specified by:
getAccessin interfaceClassMemberStub
-
getDesc
@NotNull public java.lang.String getDesc()
- Specified by:
getDescin interfaceClassMemberStub
-
getLogger
@NotNull public MixinLoggingFacade getLogger()
- Specified by:
getLoggerin interfaceClassMemberStub
-
getName
@NotNull public java.lang.String getName()
- Specified by:
getNamein interfaceClassMemberStub
-
getOwner
@NotNull public org.objectweb.asm.tree.ClassNode getOwner()
- Specified by:
getOwnerin interfaceClassMemberStub
-
-