org.apache.bcel.generic

Class LDC2_W

public class LDC2_W extends CPInstruction implements PushInstruction, TypedInstruction

LDC2_W - Push long or double from constant pool
Stack: ... -> ..., item.word1, item.word2
Constructor Summary
LDC2_W(int index)
Method Summary
voidaccept(Visitor v)
Call corresponding visitor method(s).
TypegetType(ConstantPoolGen cpg)
NumbergetValue(ConstantPoolGen cpg)

Constructor Detail

LDC2_W

public LDC2_W(int index)

Method Detail

accept

public void accept(Visitor v)
Call corresponding visitor method(s). The order is: Call visitor methods of implemented interfaces first, then call methods according to the class hierarchy in descending order, i.e., the most specific visitXXX() call comes last.

Parameters: v Visitor object

getType

public Type getType(ConstantPoolGen cpg)

getValue

public Number getValue(ConstantPoolGen cpg)