org.apache.bcel.generic

Class ReturnInstruction

public abstract class ReturnInstruction extends Instruction implements ExceptionThrower, TypedInstruction, StackConsumer

Super class for the xRETURN family of instructions.
Constructor Summary
protected ReturnInstruction(short opcode)
Method Summary
Class[]getExceptions()
TypegetType()
TypegetType(ConstantPoolGen cp)

Constructor Detail

ReturnInstruction

protected ReturnInstruction(short opcode)

Parameters: opcode of instruction

Method Detail

getExceptions

public Class[] getExceptions()

getType

public Type getType()

getType

public Type getType(ConstantPoolGen cp)

Returns: type associated with the instruction