private @NotNull List<JButton> createButtons(@NotNull List<? extends Action> actions) {
    List<JButton> buttons = new ArrayList<>();
    for (Action action : actions) {
      buttons.add(createJButtonForAction(action));
    }
    return buttons;
  }
private @NotNull List<JButton> createButtons(@NotNull List<? extends Action> actions)