protected static void add(@NotNull @NonNls String actionId, @NotNull ActionManager manager, @NotNull List<? super AnAction> actions) {
    final AnAction action = manager.getAction(actionId);
    assert action != null : "Can not find action " + actionId;
    actions.add(action);
  }
protected static void add(@NotNull @NonNls String actionId, @NotNull ActionManager manager, @NotNull List<? super AnAction> actions)