public static Group createGroup(ActionGroup actionGroup, boolean forceAsPopup, Condition<? super AnAction> filtered) {
    Presentation presentation = getTemplatePresentation(actionGroup);
    String text = presentation.getText();
    String groupName = StringUtil.isNotEmpty(text) ? text : getName(actionGroup);
    return createGroup(actionGroup, groupName, presentation.getIconSupplier(), forceAsPopup, filtered, true);
  }
public static Group createGroup(ActionGroup actionGroup, boolean forceAsPopup, Condition<? super AnAction> filtered)