Class ModifyConstantInjectionInfo
java.lang.Object
org.spongepowered.asm.mixin.struct.AnnotatedMethodInfo
org.spongepowered.asm.mixin.struct.SpecialMethodInfo
org.spongepowered.asm.mixin.injection.struct.InjectionInfo
org.spongepowered.asm.mixin.injection.struct.ModifyConstantInjectionInfo
- All Implemented Interfaces:
ISliceContext,IInjectionPointContext,ISelectorContext,IMessageSink
Information about a constant modifier injector
-
Nested Class Summary
Nested classes/interfaces inherited from class org.spongepowered.asm.mixin.injection.struct.InjectionInfo
InjectionInfo.AnnotationType, InjectionInfo.HandlerPrefix, InjectionInfo.InjectorOrder -
Field Summary
Fields inherited from class org.spongepowered.asm.mixin.injection.struct.InjectionInfo
activities, atKey, group, injectionPointAnnotations, injectionPoints, injector, isStatic, slices, targetCount, targetNodes, targetsFields inherited from class org.spongepowered.asm.mixin.struct.SpecialMethodInfo
classNode, mixinFields inherited from class org.spongepowered.asm.mixin.struct.AnnotatedMethodInfo
annotation, annotationType, method, methodName -
Constructor Summary
ConstructorsConstructorDescriptionModifyConstantInjectionInfo(MixinTargetContext mixin, org.objectweb.asm.tree.MethodNode method, org.objectweb.asm.tree.AnnotationNode annotation) -
Method Summary
Modifier and TypeMethodDescriptionprotected StringgetSliceId(String id) Return the mapped slice id for the specified ID.protected voidparseInjectionPoints(List<org.objectweb.asm.tree.AnnotationNode> ats) protected InjectorparseInjector(org.objectweb.asm.tree.AnnotationNode injectAnnotation) protected voidMethods inherited from class org.spongepowered.asm.mixin.injection.struct.InjectionInfo
addCallbackInvocation, addMessage, addMethod, getInjectedCallbackCount, getInjectorAnnotation, getInjectorPrefix, getMessages, getOrder, getRegisteredAnnotations, getSlice, getTargetCount, inject, isValid, notifyInjected, parse, parseOrder, parseRequirements, parseSelectors, postInject, preInject, prepare, readAnnotation, register, toStringMethods inherited from class org.spongepowered.asm.mixin.struct.SpecialMethodInfo
getClassInfo, getClassNode, getMethodName, getTargetClassInfo, getTargetClassNodeMethods inherited from class org.spongepowered.asm.mixin.struct.AnnotatedMethodInfo
getAnnotation, getAnnotationNode, getDynamicInfo, getDynamicInfo, getDynamicInfo, getElementDescription, getMethod, getMixin, getParent, getSelectorAnnotation, getSelectorCoordinate, remapMethods 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
getAnnotationNode, getMethodMethods inherited from interface org.spongepowered.asm.mixin.injection.selectors.ISelectorContext
getAnnotation, getElementDescription, getMixin, getParent, getSelectorAnnotation, getSelectorCoordinate, remap
-
Constructor Details
-
ModifyConstantInjectionInfo
public ModifyConstantInjectionInfo(MixinTargetContext mixin, org.objectweb.asm.tree.MethodNode method, org.objectweb.asm.tree.AnnotationNode annotation)
-
-
Method Details
-
readInjectionPoints
protected void readInjectionPoints()- Overrides:
readInjectionPointsin classInjectionInfo
-
parseInjectionPoints
- Overrides:
parseInjectionPointsin classInjectionInfo
-
parseInjector
- Specified by:
parseInjectorin classInjectionInfo
-
getDescription
- Overrides:
getDescriptionin classInjectionInfo
-
getSliceId
Description copied from class:InjectionInfoReturn the mapped slice id for the specified ID. Injectors which only support use of a single slice will always return the default id (an empty string)- Overrides:
getSliceIdin classInjectionInfo- Parameters:
id- slice id- Returns:
- mapped id
-