All Packages Class Hierarchy This Package Previous Next Index
Class espresso.classfile.classgen.NEWARRAY
java.lang.Object
|
+----espresso.classfile.classgen.Instruction
|
+----espresso.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, ...
-
type
-
-
NEWARRAY()
- Empty constructor needed for the Class.newInstance() statement in
Instruction.readInstruction().
-
NEWARRAY(byte)
-
-
dump(DataOutputStream)
- Dump instruction as byte code to stream out.
-
initFromFile(ByteSequence, boolean)
- Read needed data (e.g.
-
toString()
-
type
private byte type
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 IOException
- Dump instruction as byte code to stream out.
- Parameters:
- out - Output stream
- Overrides:
- dump in class Instruction
toString
public String toString()
- Returns:
- mnemonic for instruction
- Overrides:
- toString in class Instruction
initFromFile
protected void initFromFile(ByteSequence bytes,
boolean wide) throws IOException
- Read needed data (e.g. index) from file.
- Overrides:
- initFromFile in class Instruction
All Packages Class Hierarchy This Package Previous Next Index