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


Constructor Index

 o LDC()
Empty constructor needed for the Class.newInstance() statement in Instruction.readInstruction().
 o LDC(int)

Method Index

 o dump(DataOutputStream)
Dump instruction as byte code to stream out.
 o initFromFile(ByteSequence, boolean)
Read needed data (e.g.

Constructors

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

 o LDC
 public LDC(int index)

Methods

 o 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
 o 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