org.apache.bcel.generic
Class ANEWARRAY
- AllocationInstruction, Cloneable, ExceptionThrower, IndexedInstruction, LoadClass, Serializable, StackProducer, TypedInstruction
ANEWARRAY - Create new array of references
Stack: ..., count -> ..., arrayref
Version:
- M. Dahm
accept, consumeStack, copy, dump, equals, getComparator, getLength, getName, getOpcode, initFromFile, produceStack, readInstruction, setComparator, toString, toString, toString |
ANEWARRAY
public ANEWARRAY(int index)
accept
public void accept(Visitor v)
Call corresponding visitor method(s). The order is:
Call visitor methods of implemented interfaces first, then
call methods according to the class hierarchy in descending order,
i.e., the most specific visitXXX() call comes last.
- accept in interface Instruction
v - Visitor object
getLoadClassType
public ObjectType getLoadClassType(ConstantPoolGen cpg)
Returns the ObjectType of the referenced class or interface
that may be loaded and resolved.
- getLoadClassType in interface LoadClass
- object type that may be loaded or null if a primitive is
referenced