Top Description Constructors Methods
org.apache.bcel.generic

public Class LDC_W

extends LDC
Class Inheritance
Imports
java.io.IOException, org.apache.bcel.util.ByteSequence

LDC_W - Push item from constant pool (wide index)
Stack: ... -> ..., item.word1, item.word2

Constructor Summary

AccessConstructor and Description
pack-priv
LDC_W()

Empty constructor needed for Instruction.readInstruction.

public
LDC_W(final int index)

Method Summary

Modifier and TypeMethod and Description
protected void
initFromFile(final ByteSequence
input stream
bytes
,
final boolean
wide prefix?
wide
)

Overrides org.apache.bcel.generic.LDC.initFromFile.

Read needed data (i.e., index) from file.
Inherited from org.apache.bcel.generic.LDC:
acceptdumpgetExceptionsgetTypegetValuesetIndexsetSize

Constructor Detail

LDC_Wback to summary
pack-priv LDC_W()

Empty constructor needed for Instruction.readInstruction. Not to be used otherwise.

LDC_Wback to summary
public LDC_W(final int index)

Method Detail

initFromFileback to summary
protected void initFromFile(final ByteSequence bytes, final boolean wide) throws IOException

Overrides org.apache.bcel.generic.LDC.initFromFile.

Read needed data (i.e., index) from file.

Parameters
bytes:ByteSequence

Doc from org.apache.bcel.generic.CPInstruction.initFromFile.

input stream

wide:boolean

Doc from org.apache.bcel.generic.CPInstruction.initFromFile.

wide prefix?

Annotations
@Override
Exceptions
IOException:

Doc from org.apache.bcel.generic.Instruction.initFromFile.

may be thrown if the implementation needs to read data from the file