org.apache.bcel.generic

Class ReturnaddressType

public class ReturnaddressType extends Type

Returnaddress, the type JSR or JSR_W instructions push upon the stack. see vmspec2 '3.3.3

Version: $Id: ReturnaddressType.java 152690 2001-10-29 19:59:54Z jvanzyl $

Author: Enver Haase

Field Summary
static ReturnaddressTypeNO_TARGET
Constructor Summary
ReturnaddressType(InstructionHandle returnTarget)
Creates a ReturnaddressType object with a target.
Method Summary
booleanequals(Object rat)
Returns if the two Returnaddresses refer to the same target.
InstructionHandlegetTarget()

Field Detail

NO_TARGET

public static final ReturnaddressType NO_TARGET

Constructor Detail

ReturnaddressType

public ReturnaddressType(InstructionHandle returnTarget)
Creates a ReturnaddressType object with a target.

Method Detail

equals

public boolean equals(Object rat)
Returns if the two Returnaddresses refer to the same target.

getTarget

public InstructionHandle getTarget()

Returns: the target of this ReturnaddressType