@Incubating public interface ProblemBuilderDefiningLocation
Problem instance builder requiring the specification of the problem location.| Modifier and Type | Method | Description |
|---|---|---|
ProblemBuilderDefiningCategory |
fileLocation(java.lang.String path,
java.lang.Integer line,
java.lang.Integer column,
java.lang.Integer length) |
Declares that this problem is in a file with optional position and length.
|
ProblemBuilderDefiningCategory |
noLocation() |
Declares that this problem has no associated location data.
|
ProblemBuilderDefiningCategory |
pluginLocation(java.lang.String pluginId) |
Declares that this problem is emitted while applying a plugin.
|
ProblemBuilderDefiningCategory |
stackLocation() |
Declares that this problem should automatically collect the location information based on the current stack trace.
|
ProblemBuilderDefiningCategory fileLocation(java.lang.String path, @Nullable java.lang.Integer line, @Nullable java.lang.Integer column, @Nullable java.lang.Integer length)
path - the file locationline - the line numbercolumn - the column numberlength - the length of the textProblemBuilderDefiningCategory pluginLocation(java.lang.String pluginId)
pluginId - the ID of the applied pluginProblemBuilderDefiningCategory stackLocation()
ProblemBuilderDefiningCategory noLocation()