Interface Issue

  • All Superinterfaces:
    IIssue

    public interface Issue
    extends IIssue
    Represents an issue detected by a Sensor.
    Since:
    5.1
    • 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.
      • flows

        java.util.List<Issue.Flow> flows()
        List of flows for this issue. Can be empty.
        Specified by:
        flows in interface IIssue
        Since:
        5.2
      • 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 in Context.getKey().
        Since:
        9.8