public class INVOKEDYNAMIC extends InvokeInstruction
index
length, opcode
Constructor and Description |
---|
INVOKEDYNAMIC(int index) |
Modifier and Type | Method and Description |
---|---|
void |
accept(Visitor v)
Call corresponding visitor method(s).
|
void |
dump(java.io.DataOutputStream out)
Dump instruction as byte code to stream out.
|
java.lang.String |
getClassName(ConstantPoolGen cpg)
Override the parent method because our classname is held elsewhere.
|
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) |
consumeStack, getArgumentTypes, getMethodName, getReturnType, getType, produceStack
getClassType, getLoadClassType, getName, getReferenceType, getSignature
getIndex, setIndex, toString
copy, equals, getComparator, getLength, getName, getOpcode, hashCode, isValidByte, isValidShort, readInstruction, setComparator, toString
public void dump(java.io.DataOutputStream out) throws java.io.IOException
dump
in class CPInstruction
out
- Output streamjava.io.IOException
protected void initFromFile(ByteSequence bytes, boolean wide) throws java.io.IOException
initFromFile
in class CPInstruction
bytes
- input streamwide
- wide prefix?java.io.IOException
- may be thrown if the implementation needs to read data from the filepublic java.lang.String toString(ConstantPool cp)
toString
in class InvokeInstruction
public java.lang.Class<?>[] getExceptions()
public void accept(Visitor v)
accept
in class Instruction
v
- Visitor objectpublic java.lang.String getClassName(ConstantPoolGen cpg)
getClassName
in class InvokeInstruction