de.fub.bytecode.generic
Class LDC_W

java.lang.Object
  |
  +--de.fub.bytecode.generic.Instruction
        |
        +--de.fub.bytecode.generic.CPInstruction
              |
              +--de.fub.bytecode.generic.LDC
                    |
                    +--de.fub.bytecode.generic.LDC_W
All Implemented Interfaces:
java.lang.Cloneable, ExceptionThrower, IndexedInstruction, PushInstruction, java.io.Serializable, StackProducer, TypedInstruction

public class LDC_W
extends LDC

LDC_W - Push item from constant pool (wide index)

Stack: ... -> ..., item.word1, item.word2

Version:
$Id: LDC_W.java,v 1.5 2001/05/09 09:26:57 dahm Exp $
Author:
M. Dahm
See Also:
Serialized Form

Fields inherited from class de.fub.bytecode.generic.CPInstruction
index
 
Fields inherited from class de.fub.bytecode.generic.Instruction
length, opcode
 
Constructor Summary
LDC_W(int index)
           
 
Method Summary
protected  void initFromFile(ByteSequence bytes, boolean wide)
          Read needed data (i.e., index) from file.
 
Methods inherited from class de.fub.bytecode.generic.LDC
accept, dump, getExceptions, getType, getValue, setIndex, setSize
 
Methods inherited from class de.fub.bytecode.generic.CPInstruction
getIndex, toString, toString
 
Methods inherited from class de.fub.bytecode.generic.Instruction
consumeStack, consumeStack, copy, getLength, getOpcode, getTag, produceStack, produceStack, readInstruction, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface de.fub.bytecode.generic.StackProducer
produceStack
 

Constructor Detail

LDC_W

public LDC_W(int index)
Method Detail

initFromFile

protected void initFromFile(ByteSequence bytes,
                            boolean wide)
                     throws java.io.IOException
Read needed data (i.e., index) from file.
Overrides:
initFromFile in class LDC
Following copied from class: de.fub.bytecode.generic.CPInstruction
Parameters:
bytes - input stream
wide - wide prefix?