|
|||||
| FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||
A helper class to invoke methods more easily in ASM
| Field Summary | |
|---|---|
String |
internalName
|
String |
methodDescriptor
|
String |
name
|
int |
opcode
|
Class |
theClass
|
| Constructor Summary | |
MethodCaller(int opcode, Class theClass, String name)
|
|
| Method Summary | |
|---|---|
void |
call(MethodVisitor methodVisitor)
|
Method |
getMethod()
|
String |
getMethodDescriptor()
|
static MethodCaller |
newInterface(Class theClass, String name)
|
static MethodCaller |
newStatic(Class theClass, String name)
|
static MethodCaller |
newVirtual(Class theClass, String name)
|
| Constructor Detail |
|---|
public MethodCaller(int opcode, Class theClass, String name)
| Method Detail |
|---|
public void call(MethodVisitor methodVisitor)
Method getMethod()
public String getMethodDescriptor()
public static MethodCaller newInterface(Class theClass, String name)
public static MethodCaller newStatic(Class theClass, String name)
public static MethodCaller newVirtual(Class theClass, String name)