Class LDC_W
java.lang.Object
org.apache.bcel.generic.Instruction
org.apache.bcel.generic.CPInstruction
org.apache.bcel.generic.LDC
org.apache.bcel.generic.LDC_W
- All Implemented Interfaces:
Serializable, Cloneable, ExceptionThrower, IndexedInstruction, PushInstruction, StackProducer, TypedInstruction
LDC_W - Push item from constant pool (wide index)
Stack: ... -> ..., item.word1, item.word2
- See Also:
-
Field Summary
Fields inherited from class CPInstruction
indexFields inherited from class Instruction
length, opcode -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidinitFromFile(ByteSequence bytes, boolean wide) Read needed data (i.e., index) from file.Methods inherited from class CPInstruction
getIndex, toString, toStringMethods inherited from class Instruction
consumeStack, copy, equals, getComparator, getLength, getName, getOpcode, hashCode, produceStack, readInstruction, setComparator, toStringMethods inherited from interface StackProducer
produceStack
-
Constructor Details
-
LDC_W
public LDC_W(int index)
-
-
Method Details
-
initFromFile
Read needed data (i.e., index) from file.- Overrides:
initFromFilein classLDC- Parameters:
bytes- input streamwide- wide prefix?- Throws:
IOException- may be thrown if the implementation needs to read data from the file
-