docs: private void createSubMenu(
          CmsContextMenuItemWidget parentWidget,
          ContextMenuItemState childState,
          CmsContextMenuConnector connector) {
  
          CmsContextMenuItemWidget childWidget = createEmptyItemWidget(
              childState.getId(),
              childState.getCaption(),
              childState.getDescription(),
              connector);
          childWidget.setEnabled(childState.isEnabled());
          childWidget.setSeparatorVisible(childState.isSeparator());
          setStyleNames(childWidget, childState.getStyles());
          parentWidget.addSubMenuItem(childWidget);
  
          for (ContextMenuItemState child : childState.getChildren()) {
              createSubMenu(childWidget, child, connector);
          }
      }