Menu subItem1 = item2.addItem( "path1" );
Menu subItem2 = item2.addItem( "sub2" );
Menu subSubItem1 = subItem1.addItem( "subsub1" );
Menu subSubItem2 = subItem2.addItem( "path1" );
Menu found = menu.getItem( new TraversingMenuSelector( false )
{
@Override
protected boolean matches( Menu item ) {
return StringUtils.equals( "path1", item.getPath() );
}