Package org.sonar.api.batch.sensor.issue
Interface Issue
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
Issue.Flow
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<Issue.Flow>
flows()
List of flows for this issue.java.lang.Double
gap()
Gap used to compute the effort for fixing the issue.boolean
isQuickFixAvailable()
Is there a QuickFix available in SonarLint for this issueSeverity
overriddenSeverity()
Overridden severity.IssueLocation
primaryLocation()
Primary locations for this issue.java.util.Optional<java.lang.String>
ruleDescriptionContextKey()
The optional rule description section context key, in case the analyzer detects a context for the issue.
-
-
-
Method Detail
-
gap
@CheckForNull java.lang.Double gap()
Gap used to compute the effort for fixing the issue.- Since:
- 5.5
-
overriddenSeverity
@CheckForNull Severity overriddenSeverity()
Overridden severity.
-
primaryLocation
IssueLocation primaryLocation()
Primary locations for this issue.- Specified by:
primaryLocation
in interfaceIIssue
- Since:
- 5.2
-
flows
java.util.List<Issue.Flow> flows()
List of flows for this issue. Can be empty.
-
isQuickFixAvailable
boolean isQuickFixAvailable()
Is there a QuickFix available in SonarLint for this issue- Since:
- 9.2
-
ruleDescriptionContextKey
java.util.Optional<java.lang.String> ruleDescriptionContextKey()
The optional rule description section context key, in case the analyzer detects a context for the issue. The key will match the one present inContext.getKey()
.- Since:
- 9.8
-
-