Package org.codehaus.groovy.classgen.asm
Class MethodCaller
java.lang.Object
org.codehaus.groovy.classgen.asm.MethodCaller
A helper class to invoke methods more easily in ASM
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
MethodCaller(int opcode, Class theClass, String name)
MethodCaller(int opcode, Class theClass, String name, int parameterCount)
-
Method Summary
Modifier and TypeMethodDescriptionvoid
call(org.objectweb.asm.MethodVisitor methodVisitor)
protected Method
static MethodCaller
newInterface(Class theClass, String name)
static MethodCaller
static MethodCaller
static MethodCaller
newVirtual(Class theClass, String name)
-
Constructor Details
-
MethodCaller
protected MethodCaller()- Since:
- 2.5.0
-
MethodCaller
-
MethodCaller
-
-
Method Details
-
newStatic
-
newStatic
-
newInterface
-
newVirtual
-
call
public void call(org.objectweb.asm.MethodVisitor methodVisitor) -
getMethodDescriptor
-
getMethod
-