Class InjectorWrapperImpl
java.lang.Object
com.llamalad7.mixinextras.wrapper.InjectorWrapperImpl
- Direct Known Subclasses:
FactoryRedirectWrapperImpl,SugarWrapperImpl
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic interface -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedInjectorWrapperImpl(org.spongepowered.asm.mixin.injection.struct.InjectionInfo wrapper, org.spongepowered.asm.mixin.transformer.MixinTargetContext mixin, org.objectweb.asm.tree.MethodNode method, org.objectweb.asm.tree.AnnotationNode annotation, boolean useGranularInject) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddCallbackInvocation(org.objectweb.asm.tree.MethodNode handler) protected voiddoPostInject(Runnable postInject) protected abstract org.spongepowered.asm.mixin.injection.struct.InjectionInfoprotected abstract org.objectweb.asm.tree.MethodNodeintgetOrder()protected voidprotected RuntimeExceptionprotected voidinject()protected booleanisValid()protected voidprotected voidprepare()boolean
-
Field Details
-
classNode
protected final org.objectweb.asm.tree.ClassNode classNode
-
-
Constructor Details
-
InjectorWrapperImpl
protected InjectorWrapperImpl(org.spongepowered.asm.mixin.injection.struct.InjectionInfo wrapper, org.spongepowered.asm.mixin.transformer.MixinTargetContext mixin, org.objectweb.asm.tree.MethodNode method, org.objectweb.asm.tree.AnnotationNode annotation, boolean useGranularInject)
-
-
Method Details
-
usesGranularInject
public boolean usesGranularInject() -
getDelegate
protected abstract org.spongepowered.asm.mixin.injection.struct.InjectionInfo getDelegate() -
getHandler
protected abstract org.objectweb.asm.tree.MethodNode getHandler() -
isValid
protected boolean isValid() -
getOrder
public int getOrder() -
prepare
protected void prepare() -
preInject
protected void preInject() -
inject
protected void inject() -
granularInject
-
doPostInject
-
addCallbackInvocation
protected void addCallbackInvocation(org.objectweb.asm.tree.MethodNode handler) -
granularInjectNotSupported
-