public static AnAction @NotNull [] createPrimarySearchActions() {
    if (ExperimentalUI.isNewUI()) {
      return new AnAction[]{
        new StatusTextAction(),
        new PrevOccurrenceAction(),
        new NextOccurrenceAction(),
        createFilterGroup(),
        createMoreGroup()
      };
    }
    else {
      ShowFilterPopupGroup filterPopupGroup = new ShowFilterPopupGroup();
      filterPopupGroup.add(new Separator(ApplicationBundle.message("editorsearch.filter.search.scope")), Constraints.FIRST);
      filterPopupGroup.add(ActionManager.getInstance().getAction(IdeActions.GROUP_EDITOR_SEARCH_FILTER_RESULTS), Constraints.FIRST);
      return new AnAction[]{
        new StatusTextAction(),
        new PrevOccurrenceAction(),
        new NextOccurrenceAction(),
        new FindAllAction(),
        new Separator(),
        new AddOccurrenceAction(),
        new RemoveOccurrenceAction(),
        new SelectAllAction(),
        new Separator(),
        new ToggleFindInSelectionAction(),
        filterPopupGroup
      };
    }
  }
public static AnAction @NotNull [] createPrimarySearchActions()