public abstract class SpecialMethodInfo extends java.lang.Object implements IInjectionPointContext
| Modifier and Type | Field and Description |
|---|---|
protected org.spongepowered.asm.lib.tree.AnnotationNode |
annotation
Annotation on the method
|
protected org.spongepowered.asm.lib.tree.ClassNode |
classNode
Class
|
protected org.spongepowered.asm.lib.tree.MethodNode |
method
Annotated method
|
protected MixinTargetContext |
mixin
Mixin data
|
| Constructor and Description |
|---|
SpecialMethodInfo(MixinTargetContext mixin,
org.spongepowered.asm.lib.tree.MethodNode method,
org.spongepowered.asm.lib.tree.AnnotationNode annotation) |
| Modifier and Type | Method and Description |
|---|---|
org.spongepowered.asm.lib.tree.AnnotationNode |
getAnnotation()
Get the annotation which this InjectionInfo was created from
|
org.spongepowered.asm.lib.tree.ClassNode |
getClassNode()
Get the class node for this injection
|
IMixinContext |
getContext()
Get the mixin target context for this injection
|
org.spongepowered.asm.lib.tree.MethodNode |
getMethod()
Get method being called
|
protected final org.spongepowered.asm.lib.tree.AnnotationNode annotation
protected final org.spongepowered.asm.lib.tree.ClassNode classNode
protected final org.spongepowered.asm.lib.tree.MethodNode method
protected final MixinTargetContext mixin
public SpecialMethodInfo(MixinTargetContext mixin, org.spongepowered.asm.lib.tree.MethodNode method, org.spongepowered.asm.lib.tree.AnnotationNode annotation)
public final IMixinContext getContext()
getContext in interface IInjectionPointContextpublic final org.spongepowered.asm.lib.tree.AnnotationNode getAnnotation()
getAnnotation in interface IInjectionPointContextpublic final org.spongepowered.asm.lib.tree.ClassNode getClassNode()
public final org.spongepowered.asm.lib.tree.MethodNode getMethod()
getMethod in interface IInjectionPointContext