jellyj.classfile.classgen
Class NEWARRAY
jellyj.classfile.classgen.Instruction
|
+--jellyj.classfile.classgen.NEWARRAY
- public class NEWARRAY
- extends Instruction
NEWARRAY - Create new array of basic type (int, short, ...)
Stack: ..., type -> ..., arrayref
type mus be one of T_INT, T_SHORT, ...
- Author:
- JellyJ Design Group
Constructor Summary |
(package private) | NEWARRAY() Empty constructor needed for the Class.newInstance() statement in
Instruction.readInstruction(). |
| NEWARRAY(byte type) |
Method Summary |
void | dump(DataOutputStream out) Dump instruction as byte code to stream out. |
String | toString() |
NEWARRAY
NEWARRAY()
- Empty constructor needed for the Class.newInstance() statement in
Instruction.readInstruction(). Not to be used otherwise.
NEWARRAY
public NEWARRAY(byte type)
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