org.apache.bcel.generic
Class NEWARRAY
- AllocationInstruction, Cloneable, ExceptionThrower, Serializable, StackProducer
NEWARRAY - Create new array of basic type (int, short, ...)
Stack: ..., count -> ..., arrayref
type must be one of T_INT, T_SHORT, ...
$Id: NEWARRAY.java 152824 2002-08-07 18:01:32Z mdahm $
accept, consumeStack, copy, dump, equals, getComparator, getLength, getName, getOpcode, initFromFile, produceStack, readInstruction, setComparator, toString, toString, toString |
NEWARRAY
public NEWARRAY(byte type)
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
dump
public void dump(DataOutputStream out)
throws IOException Dump instruction as byte code to stream out.
- dump in interface Instruction
getType
public final Type getType()
- type of constructed array
getTypecode
public final byte getTypecode()
- numeric code for basic element type