Package gw.lang.reflect
Interface ILocationInfo
-
- All Known Implementing Classes:
LocationInfo
public interface ILocationInfo
-
-
Field Summary
Fields Modifier and Type Field Description static ILocationInfo
EMPTY
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default boolean
contains(int offset)
int
getColumn()
URL
getFileUrl()
int
getLine()
One-based line number of this feature in its top-level containerint
getOffset()
The offset of the feature in its top-level containerint
getTextLength()
The length of the feature's text in its top-level containerboolean
hasLocation()
-
-
-
Field Detail
-
EMPTY
static final ILocationInfo EMPTY
-
-
Method Detail
-
hasLocation
boolean hasLocation()
-
getOffset
int getOffset()
The offset of the feature in its top-level container
-
getTextLength
int getTextLength()
The length of the feature's text in its top-level container
-
getLine
int getLine()
One-based line number of this feature in its top-level container
-
getColumn
int getColumn()
-
contains
default boolean contains(int offset)
-
getFileUrl
URL getFileUrl()
-
-