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

public abstract Class ArrayInstruction

extends Instruction
implements ExceptionThrower, TypedInstruction
Class Inheritance
All Implemented Interfaces
org.apache.bcel.generic.TypedInstruction, org.apache.bcel.generic.ExceptionThrower
Known Direct Subclasses
org.apache.bcel.generic.BASTORE, org.apache.bcel.generic.CALOAD, org.apache.bcel.generic.CASTORE, org.apache.bcel.generic.DALOAD, org.apache.bcel.generic.DASTORE, org.apache.bcel.generic.FALOAD, org.apache.bcel.generic.FASTORE, org.apache.bcel.generic.BALOAD, org.apache.bcel.generic.IALOAD, org.apache.bcel.generic.IASTORE, org.apache.bcel.generic.LALOAD, org.apache.bcel.generic.LASTORE, org.apache.bcel.generic.SALOAD, org.apache.bcel.generic.SASTORE, org.apache.bcel.generic.AALOAD, org.apache.bcel.generic.AASTORE
Imports
org.apache.bcel.ExceptionConst

Super class for instructions dealing with array access such as IALOAD.

Field Summary

Inherited from org.apache.bcel.generic.Instruction:
EMPTY_ARRAYlengthopcode

Constructor Summary

AccessConstructor and Description
pack-priv
ArrayInstruction()

Empty constructor needed for Instruction.readInstruction.

protected
ArrayInstruction(final short
of instruction
opcode
)

Method Summary

Modifier and TypeMethod and Description
public Class<?>[]
public Type

Returns:

type associated with the instruction
getType
(final ConstantPoolGen cp)

Implements org.apache.bcel.generic.TypedInstruction.getType.

Inherited from org.apache.bcel.generic.Instruction:
acceptconsumeStackcopydisposedumpequalsgetComparatorgetLengthgetNamegetOpcodehashCodeinitFromFileisValidByteisValidShortproduceStackreadInstructionsetComparatorsetLengthsetOpcodetoStringtoStringtoString

Constructor Detail

ArrayInstructionback to summary
pack-priv ArrayInstruction()

Empty constructor needed for Instruction.readInstruction. Not to be used otherwise.

ArrayInstructionback to summary
protected ArrayInstruction(final short opcode)
Parameters
opcode:short

of instruction

Method Detail

getExceptionsback to summary
public Class<?>[] getExceptions()

Implements org.apache.bcel.generic.ExceptionThrower.getExceptions.

Annotations
@Override
getTypeback to summary
public Type getType(final ConstantPoolGen cp)

Implements org.apache.bcel.generic.TypedInstruction.getType.

Returns:Type

type associated with the instruction

Annotations
@Override