null,
new ConcreteMenuText()));
parentMenu.add(item);
push(item);
} else {
ConcreteMenuItemGroup parentGroup = getCurrentMenuItemGroup();
if (parentGroup != null) {
ConcreteMenuItem item = new ConcreteMenuItem(
new ConcreteElementDetails(),
new ConcreteMenuLabel(
null,
new ConcreteMenuText()));
parentGroup.add(item);
push(item);
} else {
reportBadParent(MenuItem.class);
}
}