APIdia Launch Partner
Top Description Fields Constructors Methods
com.sun.org.apache.bcel.internal.generic

public abstract Class LoadInstruction

extends LocalVariableInstruction
implements PushInstruction
Class Inheritance
All Implemented Interfaces
com.sun.org.apache.bcel.internal.generic.PushInstruction, com.sun.org.apache.bcel.internal.generic.StackProducer
Known Direct Subclasses
com.sun.org.apache.bcel.internal.generic.ALOAD, com.sun.org.apache.bcel.internal.generic.DLOAD, com.sun.org.apache.bcel.internal.generic.FLOAD, com.sun.org.apache.bcel.internal.generic.ILOAD, com.sun.org.apache.bcel.internal.generic.LLOAD

Denotes an unparameterized instruction to load a value from a local variable, e.g. ILOAD.

Field Summary

Inherited from com.sun.org.apache.bcel.internal.generic.LocalVariableInstruction:
n

Constructor Summary

AccessConstructor and Description
pack-priv
LoadInstruction(final short canonTag, final short cTag)

Empty constructor needed for Instruction.readInstruction.

protected
LoadInstruction(final short
Instruction opcode
opcode
,
final short
Instruction number for compact version, ALOAD_0, e.g.
cTag
,
final int
local variable index (unsigned short)
n
)

Method Summary

Modifier and TypeMethod and Description
public void
accept(final Visitor
Visitor object
v
)

Implements abstract com.sun.org.apache.bcel.internal.generic.Instruction.accept.

Call corresponding visitor method(s).

Inherited from com.sun.org.apache.bcel.internal.generic.LocalVariableInstruction:
dumpgetCanonicalTaggetIndexgetTypeinitFromFilesetIndexsetIndexOnlytoString

Constructor Detail

LoadInstructionback to summary
pack-priv LoadInstruction(final short canonTag, final short cTag)

Empty constructor needed for Instruction.readInstruction. Not to be used otherwise. tag and length are defined in readInstruction and initFromFile, respectively.

LoadInstructionback to summary
protected LoadInstruction(final short opcode, final short cTag, final int n)
Parameters
opcode:short

Instruction opcode

cTag:short

Instruction number for compact version, ALOAD_0, e.g.

n:int

local variable index (unsigned short)

Method Detail

acceptback to summary
public void accept(final Visitor v)

Implements abstract com.sun.org.apache.bcel.internal.generic.Instruction.accept.

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

Visitor object

Annotations
@Override