public class LDC_W extends LDC
Stack: ... -> ..., item.word1, item.word2
Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID |
index
length, opcode
Constructor and Description |
---|
LDC_W()
Empty constructor needed for the Class.newInstance() statement in
Instruction.readInstruction().
|
LDC_W(int index) |
Modifier and Type | Method and Description |
---|---|
protected void |
initFromFile(ByteSequence bytes,
boolean wide)
Read needed data (i.e., index) from file.
|
accept, dump, getExceptions, getType, getValue, setIndex, setSize
getIndex, toString, toString
consumeStack, copy, dispose, equals, getComparator, getLength, getName, getOpcode, hashCode, produceStack, readInstruction, setComparator, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
produceStack
private static final long serialVersionUID
LDC_W()
public LDC_W(int index)
protected void initFromFile(ByteSequence bytes, boolean wide) throws java.io.IOException
initFromFile
in class LDC
bytes
- input streamwide
- wide prefix?java.io.IOException
- may be thrown if the implementation needs to read data from the file