Class InjectorWrapperImpl

java.lang.Object
com.llamalad7.mixinextras.wrapper.InjectorWrapperImpl
Direct Known Subclasses:
FactoryRedirectWrapperImpl, SugarWrapperImpl

public abstract class InjectorWrapperImpl extends Object
  • 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

      protected void granularInject(InjectorWrapperImpl.HandlerCallCallback callback)
    • doPostInject

      protected void doPostInject(Runnable postInject)
    • addCallbackInvocation

      protected void addCallbackInvocation(org.objectweb.asm.tree.MethodNode handler)
    • granularInjectNotSupported

      protected RuntimeException granularInjectNotSupported()