All Packages Class Hierarchy This Package Previous Next Index
Class espresso.classfile.classgen.LDC
java.lang.Object
|
+----espresso.classfile.classgen.Instruction
|
+----espresso.classfile.classgen.CPInstruction
|
+----espresso.classfile.classgen.LDC
- public class LDC
- extends CPInstruction
LDC - Push item from constant pool
Stack: ... -> ..., item.word1, item.word2
-
LDC()
- Empty constructor needed for the Class.newInstance() statement in
Instruction.readInstruction().
-
LDC(int)
-
-
dump(DataOutputStream)
- Dump instruction as byte code to stream out.
-
initFromFile(ByteSequence, boolean)
- Read needed data (e.g.
LDC
LDC()
- Empty constructor needed for the Class.newInstance() statement in
Instruction.readInstruction(). Not to be used otherwise.
LDC
public LDC(int index)
dump
public void dump(DataOutputStream out) throws IOException
- Dump instruction as byte code to stream out.
- Parameters:
- out - Output stream
- Overrides:
- dump in class CPInstruction
initFromFile
protected void initFromFile(ByteSequence bytes,
boolean wide) throws IOException
- Read needed data (e.g. index) from file.
- Overrides:
- initFromFile in class CPInstruction
All Packages Class Hierarchy This Package Previous Next Index