org.apache.bcel.generic

Class LDC_W

Implemented Interfaces:
Cloneable, ExceptionThrower, IndexedInstruction, PushInstruction, 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.3 2002/12/08 16:04:37 mdahm Exp $
Author:
M. Dahm

Field Summary

Fields inherited from class org.apache.bcel.generic.CPInstruction

index

Fields inherited from class org.apache.bcel.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 org.apache.bcel.generic.LDC

accept, dump, getExceptions, getType, getValue, initFromFile, setIndex, setSize

Methods inherited from class org.apache.bcel.generic.CPInstruction

dump, getIndex, getType, initFromFile, setIndex, toString, toString

Methods inherited from class org.apache.bcel.generic.Instruction

accept, consumeStack, copy, dump, equals, getComparator, getLength, getName, getOpcode, initFromFile, produceStack, readInstruction, setComparator, toString, toString, toString

Constructor Details

LDC_W

public LDC_W(int index)

Method Details

initFromFile

protected void initFromFile(ByteSequence bytes,
                            boolean wide)
            throws IOException
Read needed data (i.e., index) from file.
Overrides:
initFromFile in interface LDC