private List<SETab> createTabs(List<SearchEverywhereContributor<?>> contributors) {
    List<SETab> result = new ArrayList<>();

    contributors = contributors.stream()
      .sorted(Comparator.comparingInt(SearchEverywhereContributor::getSortWeight))
      .collect(Collectors.toList());

    Runnable onChanged = () -> {
      myToolbar.updateActionsImmediately();
      myScopeChangedCallback.run();
    };

    if (contributors.size() > 1) {
      result.add(createAllTab(contributors, onChanged));
    }

    List<SearchEverywhereContributor<?>> separateTabContributors;
    try {
      separateTabContributors = TabsCustomizationStrategy.getInstance().getSeparateTabContributors(contributors);
    }
    catch (Exception e) {
      Logger.getInstance(SearchEverywhereHeader.class).error(e);
      separateTabContributors = contributors.stream().filter(it -> it.isShownInSeparateTab()).toList();
    }

    for (SearchEverywhereContributor<?> contributor : separateTabContributors) {
      try {
        result.add(createTab(contributor, onChanged));
      }
      catch (Exception e) {
        Logger.getInstance(SearchEverywhereHeader.class).error(e);
      }
    }

    return result;
  }
private List<SETab> createTabs(List<SearchEverywhereContributor<?>> contributors)