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
public String getFileName()
null
public short getLineNumber()
public short getColumnNumber()
Copyright © 2001–2016. All rights reserved.