org.apache.bcel.generic
Class LoadInstruction
- Cloneable, IndexedInstruction, PushInstruction, Serializable, StackProducer, TypedInstruction
public abstract class LoadInstruction
Denotes an unparameterized instruction to load a value from a local
variable, e.g. ILOAD.
Version:
- M. Dahm
accept, consumeStack, copy, dump, equals, getComparator, getLength, getName, getOpcode, initFromFile, produceStack, readInstruction, setComparator, toString, toString, toString |
LoadInstruction
protected LoadInstruction(short opcode,
short c_tag,
int n)opcode - Instruction opcodec_tag - Instruction number for compact version, ALOAD_0, e.g.n - local variable index (unsigned short)
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
v - Visitor object