Class IdentifierReference

    • Constructor Detail

      • IdentifierReference

        public IdentifierReference​(String referenceLocation,
                                   Identifier identifier)
        Creates a new instance with a given location for the target referring to an identifier.
        Parameters:
        referenceLocation - the location of the target containing the reference
        identifier - the identifier referred to
    • Method Detail

      • getReferenceLocation

        public String getReferenceLocation()
        Gets the location of the target containing the reference.
        Returns:
        the target location containing the reference
      • getIdentifier

        public Identifier getIdentifier()
        Gets the identifier referenced.
        Returns:
        the identifier
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object