org.apache.bcel.generic

Class ReturnaddressType

Implemented Interfaces:
java.io.Serializable

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,v 1.1.1.1 2001/10/29 20:00:26 jvanzyl Exp $
Author:
Enver Haase
See Also:
Serialized Form

Field Summary

static ReturnaddressType
NO_TARGET

Fields inherited from class org.apache.bcel.generic.Type

BOOLEAN, BYTE, CHAR, DOUBLE, FLOAT, INT, LONG, NO_ARGS, NULL, OBJECT, SHORT, STRING, STRINGBUFFER, THROWABLE, UNKNOWN, VOID, signature, type

Constructor Summary

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

Method Summary

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

Methods inherited from class org.apache.bcel.generic.Type

getArgumentTypes, getMethodSignature, getReturnType, getSignature, getSignature, getSize, getType, getType, getType, toString

Field Details

NO_TARGET

public static final ReturnaddressType NO_TARGET

Constructor Details

ReturnaddressType

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

Method Details

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