Package org.springframework.boot.origin
Class TextResourceOrigin.Location
- java.lang.Object
- org.springframework.boot.origin.TextResourceOrigin.Location
- Enclosing class:
- TextResourceOrigin
public static final class TextResourceOrigin.Location extends Object
A location (line and column number) within the resource.
Constructor Summary
Constructors Constructor Description Location(int line, int column)
Create a newTextResourceOrigin.Location
instance.
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(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()
String
toString()
Constructor Detail
Location
public Location(int line, int column)
Create a newTextResourceOrigin.Location
instance.- Parameters:
line
- the line number (zero indexed)column
- the column number (zero indexed)