Package org.intellij.sonar.index

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


        }).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

Related Classes of org.intellij.sonar.index.IssuesByFileIndexer

Copyright © 2018 www.massapicom. 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.