public class AnnotatedMethodInfo extends java.lang.Object implements IInjectionPointContext
| Modifier and Type | Field and Description |
|---|---|
protected org.objectweb.asm.tree.AnnotationNode |
annotation
Annotation on the method
|
protected static org.apache.logging.log4j.Logger |
logger
Log more things
|
protected org.objectweb.asm.tree.MethodNode |
method
Annotated method
|
| Constructor and Description |
|---|
AnnotatedMethodInfo(IMixinContext mixin,
org.objectweb.asm.tree.MethodNode method,
org.objectweb.asm.tree.AnnotationNode annotation) |
| Modifier and Type | Method and Description |
|---|---|
void |
addMessage(java.lang.String format,
java.lang.Object... args)
Add a new message
|
org.objectweb.asm.tree.AnnotationNode |
getAnnotation()
Get the annotation which this InjectionInfo was created from
|
IMixinContext |
getContext()
Get the mixin target context for this annotated method
|
org.objectweb.asm.tree.MethodNode |
getMethod()
Get method being called
|
protected static final org.apache.logging.log4j.Logger logger
protected final org.objectweb.asm.tree.MethodNode method
protected final org.objectweb.asm.tree.AnnotationNode annotation
public AnnotatedMethodInfo(IMixinContext 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.MethodNode getMethod()
getMethod in interface IInjectionPointContextpublic final org.objectweb.asm.tree.AnnotationNode getAnnotation()
getAnnotation in interface IInjectionPointContextpublic void addMessage(java.lang.String format,
java.lang.Object... args)
IMessageSinkaddMessage in interface IMessageSinkformat - Message formatargs - Message args