org.apache.bcel.generic
public abstract class InvokeInstruction extends FieldOrMethod implements ExceptionThrower, TypedInstruction, StackConsumer, StackProducer
Constructor Summary | |
---|---|
protected | InvokeInstruction(short opcode, int index) |
Method Summary | |
---|---|
int | consumeStack(ConstantPoolGen cpg)
Also works for instructions whose stack effect depends on the
constant pool entry they reference. |
Type[] | getArgumentTypes(ConstantPoolGen cpg) |
String | getMethodName(ConstantPoolGen cpg) |
Type | getReturnType(ConstantPoolGen cpg) |
Type | getType(ConstantPoolGen cpg) |
int | produceStack(ConstantPoolGen cpg)
Also works for instructions whose stack effect depends on the
constant pool entry they reference. |
String | toString(ConstantPool cp) |
Parameters: index to constant pool
Returns: Number of words consumed from stack by this instruction
Returns: argument types of referenced method.
Returns: name of referenced method.
Returns: return type of referenced method.
Returns: return type of referenced method.
Returns: Number of words produced onto stack by this instruction
Returns: mnemonic for instruction with symbolic references resolved