public interface IInjector
Modifier and Type | Method and Description |
---|---|
void |
inject(org.objectweb.asm.tree.ClassNode clazz,
org.objectweb.asm.tree.MethodNode method)
This method is to be called by the launcher after identifying the right class and
method to patch.
|
java.lang.String |
methodDesc()
This should return the target method's descriptor.
|
java.lang.String |
methodName()
This is used to identify the method to transform within the class.
|
java.lang.String |
name() |
default java.lang.String |
reason() |
java.lang.String |
targetClass()
This is used to identify which classes should be altered, and on which class
should this injector operate.
|
java.lang.String name()
default java.lang.String reason()
java.lang.String targetClass()
java.lang.String methodName()
java.lang.String methodDesc()
void inject(org.objectweb.asm.tree.ClassNode clazz, org.objectweb.asm.tree.MethodNode method)
clazz
- the ClassNode
currently being patchedmethod
- the MethodNode
of method currently being patched