org.apache.bcel.generic
Class LDC
- Cloneable, ExceptionThrower, IndexedInstruction, PushInstruction, Serializable, StackProducer, TypedInstruction
LDC - Push item from constant pool.
Stack: ... -> ..., item
$Id: LDC.java 386056 2006-03-15 11:31:56Z tcurdt $
LDC() - Empty constructor needed for the Class.newInstance() statement in
Instruction.readInstruction().
|
LDC(int index)
|
accept , className , consumeStack , copy , dispose , dump , equals , getComparator , getLength , getName , getOpcode , initFromFile , produceStack , readInstruction , setComparator , setOpcode , toString , toString , toString |
LDC
(package private) LDC()
Empty constructor needed for the Class.newInstance() statement in
Instruction.readInstruction(). Not to be used otherwise.
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.
- accept in interface Instruction
dump
public void dump(DataOutputStream out)
throws IOException
Dump instruction as byte code to stream out.
- dump in interface CPInstruction
setSize
protected final void setSize()