org.apache.bcel.generic

Class ArrayInstruction

public abstract class ArrayInstruction extends Instruction implements ExceptionThrower, TypedInstruction

Super class for instructions dealing with array access such as IALOAD.
Constructor Summary
protected ArrayInstruction(short opcode)
Method Summary
Class[]getExceptions()
TypegetType(ConstantPoolGen cp)

Constructor Detail

ArrayInstruction

protected ArrayInstruction(short opcode)

Parameters: opcode of instruction

Method Detail

getExceptions

public Class[] getExceptions()

getType

public Type getType(ConstantPoolGen cp)

Returns: type associated with the instruction