public final class INVOKEINTERFACE extends InvokeInstruction
Stack: ..., objectref, [arg1, [arg2 ...]] -> ...
indexlength, opcode| Constructor and Description |
|---|
INVOKEINTERFACE(int index,
int nargs) |
| Modifier and Type | Method and 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(DataOutputStream out)
Dump instruction as byte code to stream out.
|
int |
getCount()
The count argument according to the Java Language Specification, Second Edition.
|
Class<?>[] |
getExceptions() |
protected void |
initFromFile(ByteSequence bytes,
boolean wide)
Read needed data (i.e., index) from file.
|
String |
toString(ConstantPool cp) |
getArgumentTypes, getClassName, getMethodName, getReturnType, getType, produceStackgetClassType, getLoadClassType, getName, getReferenceType, getSignaturegetIndex, setIndex, toStringcopy, equals, getComparator, getLength, getName, getOpcode, hashCode, isValidByte, isValidShort, readInstruction, setComparator, toStringpublic INVOKEINTERFACE(int index, int nargs)
public void accept(Visitor v)
accept in class Instructionv - Visitor objectpublic int consumeStack(ConstantPoolGen cpg)
InvokeInstructionconsumeStack in interface StackConsumerconsumeStack in class InvokeInstructionpublic void dump(DataOutputStream out) throws IOException
dump in class CPInstructionout - Output streamIOExceptionpublic int getCount()
public Class<?>[] getExceptions()
protected void initFromFile(ByteSequence bytes, boolean wide) throws IOException
initFromFile in class CPInstructionbytes - input streamwide - wide prefix?IOException - may be thrown if the implementation needs to read data from the filepublic String toString(ConstantPool cp)
toString in class InvokeInstructionCopyright © 2004–2022 The Apache Software Foundation. All rights reserved.