Class RuleHotspot

java.lang.Object
io.codemodder.providers.sonar.RuleHotspot
All Implemented Interfaces:
RuleFinding<io.codemodder.sonar.model.Hotspot>

public final class RuleHotspot extends Object
Class type to bind Hotspot from ProvidedSonarScan
  • Method Details

    • getResultsByPath

      public List<io.codemodder.sonar.model.Hotspot> getResultsByPath(Path path)
      Description copied from interface: RuleFinding
      A list of findings associated with the given path.
      Specified by:
      getResultsByPath in interface RuleFinding<T extends io.codemodder.sonar.model.SonarFinding>
    • hasResults

      public boolean hasResults()
      Description copied from interface: RuleFinding
      Whether any results are available.
      Specified by:
      hasResults in interface RuleFinding<T extends io.codemodder.sonar.model.SonarFinding>