public class Location extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
static Location |
NOWHERE
Representation of an unspecified location.
|
| Constructor and Description |
|---|
Location(String optionalFileName,
short lineNumber,
short columnNumber) |
| Modifier and Type | Method and Description |
|---|---|
short |
getColumnNumber() |
String |
getFileName() |
short |
getLineNumber() |
String |
toString()
Converts this
Location into an english text, like 'File Main.java, Line 23, Column 79'. |
public static final Location NOWHERE
@Nullable public String getFileName()
nullpublic short getLineNumber()
public short getColumnNumber()