Package org.apache.bcel.generic
Class ReturnaddressType
java.lang.Object
org.apache.bcel.generic.Type
org.apache.bcel.generic.ReturnaddressType
Returnaddress, the type JSR or JSR_W instructions push upon the stack.
see vmspec2 �3.3.3
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ReturnaddressTypePredefined constant for a returnaddress with no target.private InstructionHandle -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateA Returnaddress [that doesn't know where to return to].ReturnaddressType(InstructionHandle returnTarget) Creates a ReturnaddressType object with a target. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns if the two Returnaddresses refer to the same target.Gets the target of this ReturnaddressType.inthashCode()Gets the hash code of this Type.Methods inherited from class org.apache.bcel.generic.Type
consumed, encode, getArgumentTypes, getArgumentTypesSize, getClassName, getMethodSignature, getReturnType, getReturnTypeSize, getSignature, getSignature, getSize, getType, getType, getType, getTypes, getTypeSize, internalTypeNameToSignature, normalizeForStackOrLocal, size, toString
-
Field Details
-
NO_TARGET
Predefined constant for a returnaddress with no target. -
returnTarget
-
-
Constructor Details
-
ReturnaddressType
private ReturnaddressType()A Returnaddress [that doesn't know where to return to]. -
ReturnaddressType
Creates a ReturnaddressType object with a target.- Parameters:
returnTarget- The target instruction.
-
-
Method Details
-
equals
Returns if the two Returnaddresses refer to the same target. -
getTarget
Gets the target of this ReturnaddressType.- Returns:
- The target of this ReturnaddressType.
-
hashCode
public int hashCode()Description copied from class:TypeGets the hash code of this Type.
-