Package org.apache.bcel.generic
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:
Cloneable,ExceptionThrower,IndexedInstruction,PushInstruction,StackProducer,TypedInstruction
LDC_W - Push item from constant pool (wide index)
Stack: ... -> ..., item.word1, item.word2
-
Field Summary
Fields inherited from class org.apache.bcel.generic.CPInstruction
indexFields inherited from class org.apache.bcel.generic.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 org.apache.bcel.generic.LDC
accept, dump, getExceptions, getType, getValue, setIndex, setSizeMethods inherited from class org.apache.bcel.generic.CPInstruction
getIndex, toString, toStringMethods inherited from class org.apache.bcel.generic.Instruction
consumeStack, copy, equals, getComparator, getLength, getName, getOpcode, hashCode, isValidByte, isValidShort, produceStack, readInstruction, setComparator, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.bcel.generic.StackProducer
produceStack
-
Constructor Details
-
LDC_W
-
-
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
-