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