Class ReturnaddressType


  • public class ReturnaddressType
    extends Type
    Returnaddress, the type JSR or JSR_W instructions push upon the stack. see vmspec2 �3.3.3
    • 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.
        Overrides:
        equals in class Type
        Parameters:
        rat - The object to compare.
        Returns:
        true if equal.
      • getTarget

        public InstructionHandle getTarget()
        Gets the target of this ReturnaddressType.
        Returns:
        The target of this ReturnaddressType.
      • hashCode

        public int hashCode()
        Description copied from class: Type
        Gets the hash code of this Type.
        Overrides:
        hashCode in class Type
        Returns:
        A hash code value for the object.