ProblemLocation@Incubating public class FileLocation extends java.lang.Object implements ProblemLocation
| Constructor | Description |
|---|---|
FileLocation(java.lang.String path,
java.lang.Integer line,
java.lang.Integer column,
java.lang.Integer length) |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.Integer |
getColumn() |
|
java.lang.Integer |
getLength() |
|
java.lang.Integer |
getLine() |
|
java.lang.String |
getPath() |
|
java.lang.String |
getType() |
Returns an identifier of the location type.
|
public FileLocation(java.lang.String path,
@Nullable
java.lang.Integer line,
@Nullable
java.lang.Integer column,
@Nullable
java.lang.Integer length)
public java.lang.String getType()
ProblemLocationAs locations will be serialized into a JSON format, this identifier is used to distinguish between different location types.
getType in interface ProblemLocationpublic java.lang.String getPath()
@Nullable public java.lang.Integer getLine()
@Nullable public java.lang.Integer getColumn()
@Nullable public java.lang.Integer getLength()