org.apache.bcel.generic
public class NEWARRAY extends Instruction implements AllocationInstruction, ExceptionThrower, StackProducer
Stack: ..., count -> ..., arrayreftype must be one of T_INT, T_SHORT, ...
Version: $Id: NEWARRAY.java 386056 2006-03-15 11:31:56Z tcurdt $
| Field Summary | |
|---|---|
| byte | type |
| Constructor Summary | |
|---|---|
| NEWARRAY()
Empty constructor needed for the Class.newInstance() statement in
Instruction.readInstruction(). | |
| 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