Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.chaoswg.xtc4y.classdesc.code.instructions
Class NewArray  view NewArray download NewArray.java

java.lang.Object
  extended bycom.chaoswg.xtc4y.classdesc.code.instructions.Instruction
      extended bycom.chaoswg.xtc4y.classdesc.code.instructions.WideBinaryInstruction
          extended bycom.chaoswg.xtc4y.classdesc.code.instructions.NewArray

public class NewArray
extends WideBinaryInstruction

A newarray instruction instanciate a array


Field Summary
static byte T_BOOLEAN
           
static byte T_BYTE
           
static byte T_CHAR
           
static byte T_DOUBLE
           
static byte T_FLOAT
           
static byte T_INT
           
static byte T_LONG
           
static byte T_SHORT
           
 
Fields inherited from class com.chaoswg.xtc4y.classdesc.code.instructions.WideBinaryInstruction
NEWARRAY, SIPUSH
 
Fields inherited from class com.chaoswg.xtc4y.classdesc.code.instructions.Instruction
 
Constructor Summary
protected NewArray(java.io.DataInputStream dis, com.chaoswg.xtc4y.classdesc.ConstantPool cp)
          Create a newarray instruction
  NewArray(short type)
          Create a newarray instruction with a byte specifiying the type of the array
 
Methods inherited from class com.chaoswg.xtc4y.classdesc.code.instructions.WideBinaryInstruction
getNumberOfUsedBytes, getOperand, handleOperand, toString, write
 
Methods inherited from class com.chaoswg.xtc4y.classdesc.code.instructions.Instruction
getCommand, getIndex, getOpcode, resolveIndices, setIndex
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

T_BOOLEAN

public static final byte T_BOOLEAN
See Also:
Constant Field Values

T_CHAR

public static final byte T_CHAR
See Also:
Constant Field Values

T_FLOAT

public static final byte T_FLOAT
See Also:
Constant Field Values

T_DOUBLE

public static final byte T_DOUBLE
See Also:
Constant Field Values

T_BYTE

public static final byte T_BYTE
See Also:
Constant Field Values

T_SHORT

public static final byte T_SHORT
See Also:
Constant Field Values

T_INT

public static final byte T_INT
See Also:
Constant Field Values

T_LONG

public static final byte T_LONG
See Also:
Constant Field Values
Constructor Detail

NewArray

protected NewArray(java.io.DataInputStream dis,
                   com.chaoswg.xtc4y.classdesc.ConstantPool cp)
            throws java.io.IOException
Create a newarray instruction


NewArray

public NewArray(short type)
Create a newarray instruction with a byte specifiying the type of the array