java.io.Serializable, java.lang.Cloneable, ExceptionThrower, IndexedInstruction, LoadClass, StackConsumer, StackProducer, TypedInstructionpublic final class INVOKEINTERFACE extends InvokeInstruction
Stack: ..., objectref, [arg1, [arg2 ...]] -> ...
indexlength, opcode| Constructor | Description |
|---|---|
INVOKEINTERFACE(int index,
int nargs) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
accept(Visitor v) |
Call corresponding visitor method(s).
|
int |
consumeStack(ConstantPoolGen cpg) |
Also works for instructions whose stack effect depends on the
constant pool entry they reference.
|
void |
dump(java.io.DataOutputStream out) |
Dump instruction as byte code to stream out.
|
int |
getCount() |
The count argument according to the Java Language Specification,
Second Edition.
|
java.lang.Class[] |
getExceptions() |
|
protected void |
initFromFile(ByteSequence bytes,
boolean wide) |
Read needed data (i.e., index) from file.
|
java.lang.String |
toString(ConstantPool cp) |
getIndex, setIndex, toStringgetClassName, getClassType, getLoadClassType, getName, getReferenceType, getSignaturecopy, equals, getComparator, getLength, getName, getOpcode, readInstruction, setComparator, toStringgetArgumentTypes, getMethodName, getReturnType, getType, produceStackpublic void dump(java.io.DataOutputStream out)
throws java.io.IOException
dump in class CPInstructionout - Output streamjava.io.IOExceptionpublic int getCount()
protected void initFromFile(ByteSequence bytes, boolean wide) throws java.io.IOException
initFromFile in class CPInstructionbytes - input streamwide - wide prefix?java.io.IOExceptionpublic java.lang.String toString(ConstantPool cp)
toString in class InvokeInstructionpublic int consumeStack(ConstantPoolGen cpg)
InvokeInstructionconsumeStack in interface StackConsumerconsumeStack in class InvokeInstructionpublic java.lang.Class[] getExceptions()
public void accept(Visitor v)
accept in class Instructionv - Visitor object