org.apache.bcel.generic
public class MULTIANEWARRAY extends CPInstruction implements LoadClass, AllocationInstruction, ExceptionThrower
Stack: ..., count1, [count2, ...] -> ..., arrayref
Version: $Id: MULTIANEWARRAY.java 152690 2001-10-29 19:59:54Z jvanzyl $
| Constructor Summary | |
|---|---|
| MULTIANEWARRAY(int index, short dimensions) | |
| Method Summary | |
|---|---|
| void | accept(Visitor v)
Call corresponding visitor method(s). |
| int | consumeStack(ConstantPoolGen cpg)
Also works for instructions whose stack effect depends on the
constant pool entry they reference. |
| void | dump(DataOutputStream out)
Dump instruction as byte code to stream out. |
| short | getDimensions() |
| Class[] | getExceptions() |
| ObjectType | getLoadClassType(ConstantPoolGen cpg) |
| protected void | initFromFile(ByteSequence bytes, boolean wide)
Read needed data (i.e., no. dimension) from file. |
| String | toString(boolean verbose) |
| String | toString(ConstantPool cp) |
Parameters: v Visitor object
Returns: Number of words consumed from stack by this instruction
Parameters: out Output stream
Returns: number of dimensions to be created
Returns: mnemonic for instruction
Returns: mnemonic for instruction with symbolic references resolved