public final class SourceLocation extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
SourceLocation.Builder
A builder for
SourceLocation objects. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getFile()
Returns the source file name.
|
String |
getFunction()
Returns the human-readable name of the function or method being invoked, with optional context
such as the class or package name.
|
Long |
getLine()
Returns the line within the source file.
|
int |
hashCode() |
static SourceLocation.Builder |
newBuilder() |
SourceLocation.Builder |
toBuilder() |
String |
toString() |
public static SourceLocation.Builder newBuilder()
public String getFile()
public Long getLine()
public String getFunction()
public SourceLocation.Builder toBuilder()
Copyright © 2023 Google LLC. All rights reserved.