Access | Constructor and Description |
---|---|
pack-priv | |
protected |
Modifier and Type | Method and Description |
---|---|
public int | Returns: Number of words consumed from stack by this instructionOverrides com. Implements com. |
public Type[] | |
public String | Returns: name of the referenced class/interfaceOverrides com.
Deprecated
This overrides the deprecated version as we know here that the referenced class may legally be an array.
|
public String | |
public Type | |
public Type | Returns: return type of referenced method.A ConstantPoolGen cpg)Overrides com. Implements com. |
public int | Returns: Number of words produced onto stack by this instructionOverrides com. Implements com. |
public String | Returns: mnemonic for instruction with symbolic references resolvedOverrides com. |
InvokeInstruction | back to summary |
---|---|
pack-priv InvokeInstruction() Empty constructor needed for Instruction.readInstruction. Not to be used otherwise. |
InvokeInstruction | back to summary |
---|---|
protected InvokeInstruction(final short opcode, final int index)
|
consumeStack | back to summary |
---|---|
public int consumeStack(final ConstantPoolGen cpg) Overrides com. Implements com. Also works for instructions whose stack effect depends on the constant pool entry they reference.
|
getArgumentTypes | back to summary |
---|---|
public Type[] getArgumentTypes(final ConstantPoolGen cpg)
|
getClassName | back to summary |
---|---|
public String getClassName(final ConstantPoolGen cpg) Overrides com. Deprecated
This overrides the deprecated version as we know here that the referenced class may legally be an array.
|
getMethodName | back to summary |
---|---|
public String getMethodName(final ConstantPoolGen cpg)
|
getReturnType | back to summary |
---|---|
public Type getReturnType(final ConstantPoolGen cpg)
|
getType | back to summary |
---|---|
public Type getType(final ConstantPoolGen cpg) Overrides com. Implements com. Doc from com. Returns the type associated with this instruction. LoadClass instances are always typed, but this type does not always refer to the type of the class or
interface that it possibly forces to load. For example,
|
produceStack | back to summary |
---|---|
public int produceStack(final ConstantPoolGen cpg) Overrides com. Implements com. Also works for instructions whose stack effect depends on the constant pool entry they reference.
|
toString | back to summary |
---|---|
public String toString(final ConstantPool cp) Overrides com. |