void (@NotNull ProgressIndicator indicator) { progressIndicator.start(); TooManyUsagesStatus tooManyUsagesStatus = TooManyUsagesStatus.createFor(progressIndicator); Collection<Object> foundElements = new ArrayList<>(); int alreadyFoundCount = cached.size(); for (SearchEverywhereContributor<?> contributor : contributorsForAdditionalSearch) { if (progressIndicator.isCanceled()) break; try { fetch(contributor, foundElements, alreadyFoundCount, tooManyUsagesStatus); } catch (ProcessCanceledException ignore) { } } fillUsages(foundElements, usages, targets); }