private static @Nullable String getGroupID(ActionGroup actionGroup) {
    AnAction actionForId = ActionUtil.getDelegateChainRootAction(actionGroup);
    return ActionManager.getInstance().getId(actionForId);
  }
private static @Nullable String getGroupID(ActionGroup actionGroup)