Examples of IssuesByFileIndexer


Examples of org.intellij.sonar.index.IssuesByFileIndexer

      return;
    }

    removeFilesAffectedByReportFromIndex(sonarReport, indexComponent);

    final Map<String, Set<SonarIssue>> index = new IssuesByFileIndexer(psiFiles)
        .withSonarReportIssues(sonarReport.getIssues())
        .create();


View Full Code Here

Examples of org.intellij.sonar.index.IssuesByFileIndexer

        }).size();
    sonarConsole.info(String.format("Downloaded %d issues", downloadedIssuesCount));

    for (Map.Entry<String, ImmutableList<Issue>> entry : downloadedIssuesByResourceKey.entrySet()) {
      final ImmutableList<Issue> issues = entry.getValue();
      final Map<String, Set<SonarIssue>> index = new IssuesByFileIndexer(psiFiles).withSonarServerIssues(issues).create();
      final Optional<IssuesByFileIndexProjectComponent> indexComponent = IssuesByFileIndexProjectComponent.getInstance(enrichedSettings.project);
      if (indexComponent.isPresent()) {
        indexComponent.get().getIndex().putAll(index);
      }
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.