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 fileName,
int lineNumber,
int columnNumber) |
Modifier and Type | Method and Description |
---|---|
int |
getColumnNumber() |
String |
getFileName() |
int |
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()
null
public int getLineNumber()
public int getColumnNumber()
Copyright © 2022. All rights reserved.