org.apache.bcel.generic
public class NEWARRAY extends Instruction implements AllocationInstruction, ExceptionThrower, StackProducer
Stack: ..., count -> ..., arrayreftype must be one of T_INT, T_SHORT, ...
Constructor Summary | |
---|---|
NEWARRAY(byte type) | |
NEWARRAY(BasicType type) |
Method Summary | |
---|---|
void | accept(Visitor v)
Call corresponding visitor method(s). |
void | dump(DataOutputStream out)
Dump instruction as byte code to stream out. |
Class[] | getExceptions() |
Type | getType() |
byte | getTypecode() |
protected void | initFromFile(ByteSequence bytes, boolean wide)
Read needed data (e.g. index) from file. |
String | toString(boolean verbose) |
Parameters: v Visitor object
Parameters: out Output stream
Returns: type of constructed array
Returns: numeric code for basic element type
Returns: mnemonic for instruction