private static void registerActionInGroup(@NotNull ActionRuntimeRegistrar actionRegistrar,
                                            @NotNull String actionId,
                                            @NotNull AnAction anAction,
                                            @NotNull String groupId,
                                            @NotNull Map<String, AnAction> map) {
    AnAction action = registerAction(actionRegistrar, actionId, anAction, map);
    AnAction group = actionRegistrar.getActionOrStub(groupId);
    if (group != null) {
      actionRegistrar.addToGroup(group, action, Constraints.LAST);
    }
  }
private static void registerActionInGroup(@NotNull ActionRuntimeRegistrar actionRegistrar,
                                            @NotNull String actionId,
                                            @NotNull AnAction anAction,
                                            @NotNull String groupId,
                                            @NotNull Map<String, AnAction> map)