Package org.sonar.api.batch.sensor.issue
Interface IssueLocation
-
- All Known Implementing Classes:
DefaultIssueLocation
public interface IssueLocation
Represents an issue location.- Since:
- 5.2
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InputComponent
inputComponent()
TheInputComponent
this location belongs to.java.lang.String
message()
Message of the issue.TextRange
textRange()
Range of the issue.
-
-
-
Method Detail
-
inputComponent
InputComponent inputComponent()
TheInputComponent
this location belongs to.
-
textRange
@CheckForNull TextRange textRange()
Range of the issue. Null for global issues and issues on directories. Can also be null for files (issue global to the file).
-
message
@CheckForNull java.lang.String message()
Message of the issue.
-
-