public static final class SourceLocation.Builder extends Object
SourceLocation
objects.Modifier and Type | Method and Description |
---|---|
SourceLocation |
build() |
SourceLocation.Builder |
setFile(String file)
Sets the source file name.
|
SourceLocation.Builder |
setFunction(String function)
Sets the human-readable name of the function or method being invoked, with optional context
such as the class or package name.
|
SourceLocation.Builder |
setLine(Long line)
Sets the line within the source file.
|
public SourceLocation.Builder setFile(String file)
public SourceLocation.Builder setLine(Long line)
public SourceLocation.Builder setFunction(String function)
public SourceLocation build()
Copyright © 2019 Google LLC. All rights reserved.