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