private static void processAllNames(@NotNull Project project, @NotNull Processor<? super String> processor) {
    for (ChooseByNameContributor contributor : ChooseByNameContributor.FILE_EP_NAME.getExtensionList()) {
      try {
        if (contributor instanceof ChooseByNameContributorEx) {
          ((ChooseByNameContributorEx)contributor).processNames(processor, FindSymbolParameters.searchScopeFor(project, false), null);
        }
        else {
          ContainerUtil.process(contributor.getNames(project, false), processor);
        }
      }
      catch (ProcessCanceledException ex) {
        // index corruption detected, ignore
      }
      catch (Exception ex) {
        LOG.error(ex);
      }
    }
  }
private static void processAllNames(@NotNull Project project, @NotNull Processor<? super String> processor)