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
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()
inthashCode()

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

hashCode

public int hashCode()

Returns: a hash code value for the object.