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.

Version: $Id: ArrayInstruction.java 386056 2006-03-15 11:31:56Z tcurdt $

Author: M. Dahm

Constructor Summary
ArrayInstruction()
Empty constructor needed for the Class.newInstance() statement in Instruction.readInstruction().
protected ArrayInstruction(short opcode)
Method Summary
Class[]getExceptions()
TypegetType(ConstantPoolGen cp)

Constructor Detail

ArrayInstruction

ArrayInstruction()
Empty constructor needed for the Class.newInstance() statement in Instruction.readInstruction(). Not to be used otherwise.

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