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 386056 2006-03-15 11:31:56Z tcurdt $

Author: Enver Haase

Field Summary
static ReturnaddressTypeNO_TARGET
InstructionHandlereturnTarget
Constructor Summary
ReturnaddressType()
A Returnaddress [that doesn't know where to return to].
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()
inthashCode()

Field Detail

NO_TARGET

public static final ReturnaddressType NO_TARGET

returnTarget

private InstructionHandle returnTarget

Constructor Detail

ReturnaddressType

private ReturnaddressType()
A Returnaddress [that doesn't know where to return to].

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

hashCode

public int hashCode()

Returns: a hash code value for the object.