public interface Location
Locations are mostly provided by Locatables objects.
| Modifier and Type | Field and Description |
|---|---|
static Location |
UNKNOWN
Constant for unknown locations.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getColumnNumber()
Get the column number of this location
|
String |
getDescription()
Get the description of this location
|
int |
getLineNumber()
Get the line number of this location
|
List<String> |
getSnippet(int padding)
Gets a source code snippet with the default padding
|
String |
getURI()
Get the URI of this location
|
static final Location UNKNOWN
String getDescription()
null)String getURI()
null if unknown).int getLineNumber()
-1 if unknown)int getColumnNumber()
-1 if unknown)Copyright © 2000–2025 Apache Software Foundation. All rights reserved.