@NotNull
  private DefaultActionGroup wrapActions(@NotNull DefaultActionGroup toolbarActions,
                                         @NotNull String actionsPlace,
                                         @Nullable Component toolbarActionsDataProvider) {
    DefaultActionGroup wrappedActions = new DefaultActionGroup();
    for (AnAction action : toolbarActions.getChildren(ActionManager.getInstance())) {
      ActionWrapper actionLink = new ActionWrapper(action, actionsPlace);
      actionLink.setDataProvider(toolbarActionsDataProvider);
      wrappedActions.add(actionLink);
    }

    return wrappedActions;
  }
@NotNull
  private DefaultActionGroup wrapActions(@NotNull DefaultActionGroup toolbarActions,
                                         @NotNull String actionsPlace,
                                         @Nullable Component toolbarActionsDataProvider)