| Modifier and Type | Field and Description |
|---|---|
static LocationImpl |
UNKNOWN |
| Constructor and Description |
|---|
LocationImpl(String description,
String uri) |
LocationImpl(String description,
String uri,
int line,
int column) |
| 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
|
public static final LocationImpl UNKNOWN
public String getDescription()
LocationgetDescription in interface Locationnull)public String getURI()
Locationpublic int getLineNumber()
LocationgetLineNumber in interface Location-1 if unknown)public int getColumnNumber()
LocationgetColumnNumber in interface Location-1 if unknown)public List<String> getSnippet(int padding)
LocationgetSnippet in interface Locationpadding - padding The amount of lines before and after the error to
includeCopyright © 2017. All rights reserved.