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, targetsFields inherited from class org.spongepowered.asm.mixin.struct.SpecialMethodInfo
annotation, annotationType, classNode, method, methodName, mixin -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedWrapperInjectionInfo(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 TypeMethodDescriptionvoidaddCallbackInvocation(org.objectweb.asm.tree.MethodNode handler) intgetOrder()Map<org.spongepowered.asm.mixin.injection.struct.Target,List<org.spongepowered.asm.mixin.injection.struct.InjectionNodes.InjectionNode>> voidinject()booleanisValid()voidvoidprotected org.spongepowered.asm.mixin.injection.code.InjectorparseInjector(org.objectweb.asm.tree.AnnotationNode injectAnnotation) voidvoidvoidprepare()protected voidvoidwrap(LateApplyingInjectorInfo outer) Methods inherited from class com.llamalad7.mixinextras.injector.MixinExtrasInjectionInfo
getSliceIdMethods 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, toStringMethods inherited from class org.spongepowered.asm.mixin.struct.SpecialMethodInfo
getAnnotation, getClassInfo, getClassNode, getContext, getMethod, getMethodNameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.spongepowered.asm.mixin.injection.IInjectionPointContext
getAnnotation, getContext, getMethodMethods 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:
readAnnotationin classorg.spongepowered.asm.mixin.injection.struct.InjectionInfo
-
parseInjector
protected org.spongepowered.asm.mixin.injection.code.Injector parseInjector(org.objectweb.asm.tree.AnnotationNode injectAnnotation) - Specified by:
parseInjectorin classorg.spongepowered.asm.mixin.injection.struct.InjectionInfo
-
isValid
public boolean isValid()- Overrides:
isValidin classorg.spongepowered.asm.mixin.injection.struct.InjectionInfo
-
getOrder
public int getOrder() -
prepare
public void prepare()- Overrides:
preparein classorg.spongepowered.asm.mixin.injection.struct.InjectionInfo
-
preInject
public void preInject() -
inject
public void inject()- Overrides:
injectin classorg.spongepowered.asm.mixin.injection.struct.InjectionInfo
-
postInject
public void postInject()- Overrides:
postInjectin classorg.spongepowered.asm.mixin.injection.struct.InjectionInfo
-
addCallbackInvocation
public void addCallbackInvocation(org.objectweb.asm.tree.MethodNode handler) - Overrides:
addCallbackInvocationin classorg.spongepowered.asm.mixin.injection.struct.InjectionInfo
-
lateInject
public void lateInject()- Specified by:
lateInjectin interfaceLateApplyingInjectorInfo
-
latePostInject
public void latePostInject()- Specified by:
latePostInjectin interfaceLateApplyingInjectorInfo
-
wrap
- Specified by:
wrapin interfaceLateApplyingInjectorInfo
-
getLateInjectionType
- Specified by:
getLateInjectionTypein interfaceLateApplyingInjectorInfo
-
getTargetMap
-