public static final class TextResourceOrigin.Location
extends java.lang.Object
Constructor and Description |
---|
Location(int line,
int column)
Create a new
TextResourceOrigin.Location instance. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
int |
getColumn()
Return the column of the text resource where the property originated.
|
int |
getLine()
Return the line of the text resource where the property originated.
|
int |
hashCode() |
java.lang.String |
toString() |
public Location(int line, int column)
TextResourceOrigin.Location
instance.line
- the line number (zero indexed)column
- the column number (zero indexed)public int getLine()
public int getColumn()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object