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

public abstract Class ArrayInstruction

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

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

Field Summary

Inherited from com.sun.org.apache.bcel.internal.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
getType(final ConstantPoolGen cp)

Implements com.sun.org.apache.bcel.internal.generic.TypedInstruction.getType.

Returns: type associated with the instruction

Inherited from com.sun.org.apache.bcel.internal.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 com.sun.org.apache.bcel.internal.generic.ExceptionThrower.getExceptions.

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

Implements com.sun.org.apache.bcel.internal.generic.TypedInstruction.getType.

Returns:Type

type associated with the instruction

Annotations
@Override