gradle
8.5

# ProblemBuilderDefiningLocation

@Incubating
interface ProblemBuilderDefiningLocation(source)

Problem instance builder requiring the specification of the problem location.

## Functions

fileLocation
Link copied to clipboard
abstract fun fileLocation(path: String, @Nullable line: Integer, @Nullable column: Integer, @Nullable length: Integer): ProblemBuilderDefiningCategory
Declares that this problem is in a file with optional position and length.
noLocation
Link copied to clipboard
abstract fun noLocation(): ProblemBuilderDefiningCategory
Declares that this problem has no associated location data.
pluginLocation
Link copied to clipboard
abstract fun pluginLocation(pluginId: String): ProblemBuilderDefiningCategory
Declares that this problem is emitted while applying a plugin.
stackLocation
Link copied to clipboard
abstract fun stackLocation(): ProblemBuilderDefiningCategory
Declares that this problem should automatically collect the location information based on the current stack trace.