Class MixinFieldStub
- java.lang.Object
-
- org.stianloader.micromixin.transform.internal.MixinFieldStub
-
- All Implemented Interfaces:
ClassMemberStub
public class MixinFieldStub extends java.lang.Object implements ClassMemberStub
-
-
Field Summary
Fields Modifier and Type Field Description java.util.Collection<MixinAnnotation<MixinFieldStub>>annotationsorg.objectweb.asm.tree.FieldNodefieldMixinLoggingFacadeloggerorg.objectweb.asm.tree.ClassNodeowner
-
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 source, 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 MixinFieldStubparse(org.objectweb.asm.tree.ClassNode owner, org.objectweb.asm.tree.FieldNode field, MixinTransformer<?> transformer, java.lang.StringBuilder sharedBuilder)
-
-
-
Field Detail
-
annotations
@NotNull public final java.util.Collection<MixinAnnotation<MixinFieldStub>> annotations
-
field
@NotNull public final org.objectweb.asm.tree.FieldNode field
-
logger
@NotNull public final MixinLoggingFacade logger
-
owner
@NotNull public final org.objectweb.asm.tree.ClassNode owner
-
-
Method Detail
-
parse
@NotNull public static MixinFieldStub parse(@NotNull org.objectweb.asm.tree.ClassNode owner, @NotNull org.objectweb.asm.tree.FieldNode field, @NotNull MixinTransformer<?> transformer, @NotNull java.lang.StringBuilder sharedBuilder)
-
applyTo
public void applyTo(@NotNull org.objectweb.asm.tree.ClassNode target, @NotNull HandlerContextHelper hctx, @NotNull MixinStub source, @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
-
-