jellyj.classfile.classgen
Class LDC

jellyj.classfile.classgen.Instruction
  |
  +--jellyj.classfile.classgen.CPInstruction
        |
        +--jellyj.classfile.classgen.LDC

public class LDC
extends CPInstruction

LDC - Push item from constant pool Stack: ... -> ..., item.word1, item.word2

Author:
JellyJ Design Group

Constructor Summary
 (package private) LDC()
          Empty constructor needed for the Class.newInstance() statement in Instruction.readInstruction().
 LDC(int index)
           

Method Summary
 voiddump(DataOutputStream out)
          Dump instruction as byte code to stream out.

Methods inherited from class jellyj.classfile.classgen.CPInstruction
getIndex, setIndex, toString

Methods inherited from class jellyj.classfile.classgen.Instruction
consumeStack, copy, getLength, getPosition, getTag, produceStack, readInstruction, setPosition

Constructor Detail

LDC

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

LDC

public LDC(int index)
Method Detail

dump

public void dump(DataOutputStream out)
throws java.io.IOException
Dump instruction as byte code to stream out.
Parameters:
out - Output stream