Class WrapperInjectionInfo

java.lang.Object
org.spongepowered.asm.mixin.struct.SpecialMethodInfo
org.spongepowered.asm.mixin.injection.struct.InjectionInfo
com.llamalad7.mixinextras.injector.MixinExtrasInjectionInfo
com.llamalad7.mixinextras.wrapper.WrapperInjectionInfo
All Implemented Interfaces:
LateApplyingInjectorInfo, org.spongepowered.asm.mixin.injection.code.ISliceContext, org.spongepowered.asm.mixin.injection.IInjectionPointContext
Direct Known Subclasses:
FactoryRedirectWrapperInjectionInfo, SugarWrapperInjectionInfo

public abstract class WrapperInjectionInfo extends MixinExtrasInjectionInfo implements LateApplyingInjectorInfo
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.spongepowered.asm.mixin.injection.struct.InjectionInfo

    org.spongepowered.asm.mixin.injection.struct.InjectionInfo.AnnotationType, org.spongepowered.asm.mixin.injection.struct.InjectionInfo.HandlerPrefix
  • Field Summary

    Fields inherited from class org.spongepowered.asm.mixin.injection.struct.InjectionInfo

    atKey, DEFAULT_PREFIX, group, injectionPoints, injector, isStatic, slices, targetCount, targetNodes, targets

    Fields inherited from class org.spongepowered.asm.mixin.struct.SpecialMethodInfo

    annotation, annotationType, classNode, method, methodName, mixin
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    WrapperInjectionInfo(InjectorWrapperImpl.Factory implFactory, org.spongepowered.asm.mixin.transformer.MixinTargetContext mixin, org.objectweb.asm.tree.MethodNode method, org.objectweb.asm.tree.AnnotationNode annotation)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addCallbackInvocation(org.objectweb.asm.tree.MethodNode handler)
     
     
    int
     
    Map<org.spongepowered.asm.mixin.injection.struct.Target,List<org.spongepowered.asm.mixin.injection.struct.InjectionNodes.InjectionNode>>
     
    void
     
    boolean
     
    void
     
    void
     
    protected org.spongepowered.asm.mixin.injection.code.Injector
    parseInjector(org.objectweb.asm.tree.AnnotationNode injectAnnotation)
     
    void
     
    void
     
    void
     
    protected void
     
    void
     

    Methods inherited from class com.llamalad7.mixinextras.injector.MixinExtrasInjectionInfo

    getSliceId

    Methods inherited from class org.spongepowered.asm.mixin.injection.struct.InjectionInfo

    addMethod, getDescription, getDynamicInfo, getInjectedCallbackCount, getInjectorAnnotation, getInjectorPrefix, getRegisteredAnnotations, getSlice, getTargets, notifyInjected, parse, parseInjectionPoints, parseRequirements, parseTargets, readInjectionPoints, register, toString

    Methods inherited from class org.spongepowered.asm.mixin.struct.SpecialMethodInfo

    getAnnotation, getClassInfo, getClassNode, getContext, getMethod, getMethodName

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.spongepowered.asm.mixin.injection.IInjectionPointContext

    getAnnotation, getContext, getMethod

    Methods inherited from interface com.llamalad7.mixinextras.injector.LateApplyingInjectorInfo

    lateApply
  • Constructor Details

    • WrapperInjectionInfo

      protected WrapperInjectionInfo(InjectorWrapperImpl.Factory implFactory, org.spongepowered.asm.mixin.transformer.MixinTargetContext mixin, org.objectweb.asm.tree.MethodNode method, org.objectweb.asm.tree.AnnotationNode annotation)
  • Method Details

    • readAnnotation

      protected void readAnnotation()
      Overrides:
      readAnnotation in class org.spongepowered.asm.mixin.injection.struct.InjectionInfo
    • parseInjector

      protected org.spongepowered.asm.mixin.injection.code.Injector parseInjector(org.objectweb.asm.tree.AnnotationNode injectAnnotation)
      Specified by:
      parseInjector in class org.spongepowered.asm.mixin.injection.struct.InjectionInfo
    • isValid

      public boolean isValid()
      Overrides:
      isValid in class org.spongepowered.asm.mixin.injection.struct.InjectionInfo
    • getOrder

      public int getOrder()
    • prepare

      public void prepare()
      Overrides:
      prepare in class org.spongepowered.asm.mixin.injection.struct.InjectionInfo
    • preInject

      public void preInject()
    • inject

      public void inject()
      Overrides:
      inject in class org.spongepowered.asm.mixin.injection.struct.InjectionInfo
    • postInject

      public void postInject()
      Overrides:
      postInject in class org.spongepowered.asm.mixin.injection.struct.InjectionInfo
    • addCallbackInvocation

      public void addCallbackInvocation(org.objectweb.asm.tree.MethodNode handler)
      Overrides:
      addCallbackInvocation in class org.spongepowered.asm.mixin.injection.struct.InjectionInfo
    • lateInject

      public void lateInject()
      Specified by:
      lateInject in interface LateApplyingInjectorInfo
    • latePostInject

      public void latePostInject()
      Specified by:
      latePostInject in interface LateApplyingInjectorInfo
    • wrap

      public void wrap(LateApplyingInjectorInfo outer)
      Specified by:
      wrap in interface LateApplyingInjectorInfo
    • getLateInjectionType

      public String getLateInjectionType()
      Specified by:
      getLateInjectionType in interface LateApplyingInjectorInfo
    • getTargetMap

      public Map<org.spongepowered.asm.mixin.injection.struct.Target,List<org.spongepowered.asm.mixin.injection.struct.InjectionNodes.InjectionNode>> getTargetMap()