Top Description Fields Constructors Methods
org.apache.bcel.generic

public abstract Class StoreInstruction

extends LocalVariableInstruction
implements PopInstruction
Class Inheritance
All Implemented Interfaces
org.apache.bcel.generic.PopInstruction, org.apache.bcel.generic.StackConsumer
Known Direct Subclasses
org.apache.bcel.generic.ASTORE, org.apache.bcel.generic.DSTORE, org.apache.bcel.generic.FSTORE, org.apache.bcel.generic.ISTORE, org.apache.bcel.generic.LSTORE

Denotes an unparameterized instruction to store a value into a local variable, e.g. ISTORE.

Field Summary

Inherited from org.apache.bcel.generic.LocalVariableInstruction:
n

Constructor Summary

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

Empty constructor needed for Instruction.readInstruction.

protected
StoreInstruction(final short
Instruction opcode
opcode
,
final short
Instruction number for compact version, ASTORE_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 org.apache.bcel.generic.Instruction.accept.

Call corresponding visitor method(s).
Inherited from org.apache.bcel.generic.LocalVariableInstruction:
dumpgetCanonicalTaggetIndexgetTypeinitFromFilesetIndexsetIndexOnlytoString

Constructor Detail

StoreInstructionback to summary
pack-priv StoreInstruction(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.

StoreInstructionback to summary
protected StoreInstruction(final short opcode, final short cTag, final int n)
Parameters
opcode:short

Instruction opcode

cTag:short

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

n:int

local variable index (unsigned short)

Method Detail

acceptback to summary
public void accept(final Visitor v)

Implements abstract org.apache.bcel.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