Class LocationImpl

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      int getColumn()
      The column number within the line if known, or -1 otherwise.
      int getLine()
      The line number within the resource, if known, or -1 otherwise.
      Resource getResource()
      The resource from which the object tagged with a location was derived.
      int hashCode()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Method Detail

      • getLine

        public int getLine()
        Description copied from interface: Location
        The line number within the resource, if known, or -1 otherwise.
        Specified by:
        getLine in interface Location
      • getColumn

        public int getColumn()
        Description copied from interface: Location
        The column number within the line if known, or -1 otherwise.
        Specified by:
        getColumn in interface Location
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object