jellyj.classfile.classgen
Class MULTIANEWARRAY

jellyj.classfile.classgen.Instruction
  |
  +--jellyj.classfile.classgen.CPInstruction
        |
        +--jellyj.classfile.classgen.MULTIANEWARRAY

public class MULTIANEWARRAY
extends CPInstruction

MULTIANEWARRAY - Create new mutidimensional array of references Stack: ..., count1, [count2, ...] -> ..., arrayref

Author:
JellyJ Design Group

Constructor Summary
 (package private) MULTIANEWARRAY()
          Empty constructor needed for the Class.newInstance() statement in Instruction.readInstruction().
 MULTIANEWARRAY(int index, short dimensions)
           

Method Summary
 voiddump(DataOutputStream out)
          Dump instruction as byte code to stream out.
 StringtoString()
           

Methods inherited from class jellyj.classfile.classgen.CPInstruction
getIndex, setIndex

Methods inherited from class jellyj.classfile.classgen.Instruction
consumeStack, copy, getLength, getPosition, getTag, produceStack, readInstruction, setPosition

Constructor Detail

MULTIANEWARRAY

MULTIANEWARRAY()
Empty constructor needed for the Class.newInstance() statement in Instruction.readInstruction(). Not to be used otherwise.

MULTIANEWARRAY

public MULTIANEWARRAY(int index, short dimensions)
Method Detail

dump

public void dump(DataOutputStream out)
throws java.io.IOException
Dump instruction as byte code to stream out.
Parameters:
out - Output stream

toString

public String toString()
Returns: mnemonic for instruction