Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS | NEXT CLASS FRAMES  | NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD DETAIL:  FIELD | CONSTR | METHOD

Class DE.fub.inf.JVM.ClassGen.LDC

java.lang.Object
  |
  +--DE.fub.inf.JVM.ClassGen.Instruction
        |
        +--DE.fub.inf.JVM.ClassGen.CPInstruction
              |
              +--DE.fub.inf.JVM.ClassGen.LDC

public class LDC
extends CPInstruction
implements PushInstruction
LDC - Push item from constant pool Stack: ... -> ..., item.word1, item.word2

Version:
$Id: LDC.java,v 1.2 1998/10/16 09:32:19 dahm Exp $
Author:
M. Dahm
See Also:
Serialized Form

Fields inherited from class DE.fub.inf.JVM.ClassGen.CPInstruction
index
 
Fields inherited from class DE.fub.inf.JVM.ClassGen.Instruction
length, position, tag
 
Constructor Summary
LDC(int index)
           
 
Method Summary
void dump(java.io.DataOutputStream out)
          Dump instruction as byte code to stream out.
void initFromFile(ByteSequence bytes, boolean wide)
          Read needed data (e.g. index) from file.
 
Methods inherited from class DE.fub.inf.JVM.ClassGen.CPInstruction
dump, getIndex, initFromFile, setIndex, toString, toString
 
Methods inherited from class DE.fub.inf.JVM.ClassGen.Instruction
consumeStack, dump, getInstructionList, getLength, getPosition, getTag, initFromFile, produceStack, readInstruction, setPosition, toString, toString, toString, updatePosition
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notifyAll, notify, toString, wait, wait, wait
 

Constructor Detail

LDC

public LDC(int index)
Method Detail

dump

public void dump(java.io.DataOutputStream out)
         throws java.io.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 java.io.IOException
Read needed data (e.g. index) from file.
Overrides:
initFromFile in class CPInstruction

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS | NEXT CLASS FRAMES  | NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD DETAIL:  FIELD | CONSTR | METHOD