Serializable
public class Location extends Object implements Serializable
Modifier and Type | Field | Description |
---|---|---|
static Location |
NOWHERE |
Representation of an unspecified location.
|
Constructor | Description |
---|---|
Location(String optionalFileName,
short lineNumber,
short columnNumber) |
Modifier and Type | Method | 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–2019. All rights reserved.