static @NotNull Pair<Map<Long, ActionGroup>, Customizer> getFnActionGroup() {
    final DefaultActionGroup result = new DefaultActionGroup(IdeBundle.message("action.fn.keys.text"), false);
    for (int c = 1; c <= 12; ++c) {
      result.add(new FNKeyAction(c));
    }
    Map<Long, ActionGroup> ret = new HashMap<>();
    ret.put(0L, result);

    Customizer customizer = new Customizer(null, null, (parentInfo, butt, presentation) -> {
      if (butt.getAnAction() instanceof FNKeyAction act) {
        butt.setWidth(FN_WIDTH);
        butt.setIcon(null);
        final String hint = presentation.getText() == null || presentation.getText().isEmpty() ? " " : presentation.getText();
        butt.setText(String.format("F%d", act.getFN()), hint, act.isActionDisabled());
      }
    });
    return Pair.create(ret, customizer);
  }
static @NotNull Pair<Map<Long, ActionGroup>, Customizer> getFnActionGroup()