public class ANEWARRAY extends CPInstruction implements LoadClass, AllocationInstruction, ExceptionThrower, StackConsumer, StackProducer
Stack: ..., count -> ..., arrayref
index
length, opcode
Constructor and Description |
---|
ANEWARRAY(int index) |
Modifier and Type | Method and Description |
---|---|
void |
accept(Visitor v)
Call corresponding visitor method(s).
|
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, equals, getComparator, getLength, getName, getOpcode, hashCode, isValidByte, isValidShort, produceStack, readInstruction, setComparator, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
consumeStack
produceStack
public void accept(Visitor v)
accept
in class Instruction
v
- Visitor objectpublic Class<?>[] getExceptions()
getExceptions
in interface ExceptionThrower
public ObjectType getLoadClassType(ConstantPoolGen cpg)
LoadClass
ObjectType
of the referenced class or interface that may be loaded and resolved.getLoadClassType
in interface LoadClass
cpg
- A ConstantPoolGenCopyright © 2004–2024 The Apache Software Foundation. All rights reserved.