FileDocCategorySizeDatePackage
LDC_W.javaAPI DocJava SE 6 API3625Tue Jun 10 00:22:22 BST 2008com.sun.org.apache.bcel.internal.generic

LDC_W

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.1.2.1 2005/07/31 23:45:57 jeffsuttor Exp $
author
M. Dahm

Fields Summary
Constructors Summary
LDC_W()
Empty constructor needed for the Class.newInstance() statement in Instruction.readInstruction(). Not to be used otherwise.

public LDC_W(int index)

    super(index);
  
Methods Summary
protected voidinitFromFile(com.sun.org.apache.bcel.internal.util.ByteSequence bytes, boolean wide)
Read needed data (i.e., index) from file.

    setIndex(bytes.readUnsignedShort());
    // Override just in case it has been changed
    opcode = com.sun.org.apache.bcel.internal.Constants.LDC_W;