public class InjectionCallbackReplacer
extends java.lang.Object
| Constructor and Description |
|---|
InjectionCallbackReplacer() |
| Modifier and Type | Method and Description |
|---|---|
static void |
replaceCallback(org.objectweb.asm.tree.ClassNode classNode)
Replace all
InjectionCallback instances with an Object[]. |
public static void replaceCallback(org.objectweb.asm.tree.ClassNode classNode)
InjectionCallback instances with an Object[].InjectionCallback class is not available in the target environment.{cancellable, cancelled, returnValue, returnValueSet}InjectionCallback class are also included in the replacement.classNode - The ClassNode to replace the InjectionCallback instances in