Class ReturnaddressType

java.lang.Object
org.apache.bcel.generic.Type
org.apache.bcel.generic.ReturnaddressType
All Implemented Interfaces:
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 386056 2006-03-15 11:31:56Z tcurdt $
Author:
Enver Haase
See Also:
  • Field Details

  • Constructor Details

    • ReturnaddressType

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

    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Type
      Returns:
      a hash code value for the object.
    • equals

      public boolean equals(Object rat)
      Returns if the two Returnaddresses refer to the same target.
      Overrides:
      equals in class Type
      Returns:
      whether the Types are equal
    • getTarget

      public InstructionHandle getTarget()
      Returns:
      the target of this ReturnaddressType