Package org.apache.bcel.generic
Class ReturnaddressType
- java.lang.Object
-
- org.apache.bcel.generic.Type
-
- org.apache.bcel.generic.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
Fields Modifier and Type Field Description static ReturnaddressTypeNO_TARGETPredefined constant for a returnaddress with no target.
-
Constructor Summary
Constructors Constructor Description ReturnaddressType(InstructionHandle returnTarget)Creates a ReturnaddressType object with a target.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object rat)Returns if the two Returnaddresses refer to the same target.InstructionHandlegetTarget()Gets the target of this ReturnaddressType.inthashCode()Gets the hash code of this Type.-
Methods inherited from class org.apache.bcel.generic.Type
getArgumentTypes, getClassName, getMethodSignature, getReturnType, getSignature, getSignature, getSize, getType, getType, getType, getTypes, normalizeForStackOrLocal, toString
-
-
-
-
Field Detail
-
NO_TARGET
public static final ReturnaddressType NO_TARGET
Predefined constant for a returnaddress with no target.
-
-
Constructor Detail
-
ReturnaddressType
public ReturnaddressType(InstructionHandle returnTarget)
Creates a ReturnaddressType object with a target.- Parameters:
returnTarget- The target instruction.
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object rat)
Returns if the two Returnaddresses refer to the same target.
-
getTarget
public InstructionHandle getTarget()
Gets the target of this ReturnaddressType.- Returns:
- The target of this ReturnaddressType.
-
-