private static List<SearchEverywhereContributor<?>> createContributors(@NotNull AnActionEvent initEvent, Project project) {
    SearchEverywhereMlContributorReplacement.saveInitEvent(initEvent);
    if (project == null) {
      ActionSearchEverywhereContributor.Factory factory = new ActionSearchEverywhereContributor.Factory();
      return Collections.singletonList(factory.createContributor(initEvent));
    }

    List<SearchEverywhereContributor<?>> res = new ArrayList<>();
    for (SearchEverywhereContributorFactory<?> factory : SearchEverywhereContributor.EP_NAME.getExtensionList()) {
      if (factory.isAvailable(project)) {
        SearchEverywhereContributor<?> contributor = factory.createContributor(initEvent);
        res.add(contributor);
      }
    }

    return res;
  }
private static List<SearchEverywhereContributor<?>> createContributors(@NotNull AnActionEvent initEvent, Project project)