public class ANEWARRAY extends CPInstruction implements LoadClass, AllocationInstruction, ExceptionThrower, StackConsumer, StackProducer
Stack: ..., count -> ..., arrayref
Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID |
index
length, opcode
Constructor and Description |
---|
ANEWARRAY()
Empty constructor needed for the Class.newInstance() statement in
Instruction.readInstruction().
|
ANEWARRAY(int index) |
Modifier and Type | Method and Description |
---|---|
void |
accept(Visitor v)
Call corresponding visitor method(s).
|
java.lang.Class<?>[] |
getExceptions() |
ObjectType |
getLoadClassType(ConstantPoolGen cpg)
Returns the ObjectType of the referenced class or interface
that may be loaded and resolved.
|
dump, getIndex, getType, initFromFile, setIndex, toString, toString
consumeStack, copy, dispose, equals, getComparator, getLength, getName, getOpcode, hashCode, produceStack, readInstruction, setComparator, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
consumeStack
produceStack
private static final long serialVersionUID
ANEWARRAY()
public ANEWARRAY(int index)
public java.lang.Class<?>[] getExceptions()
getExceptions
in interface ExceptionThrower
public void accept(Visitor v)
accept
in class Instruction
v
- Visitor objectpublic ObjectType getLoadClassType(ConstantPoolGen cpg)
LoadClass
getLoadClassType
in interface LoadClass