{
List viewEnds = clazz.getAssociationEnds();
for ( Iterator iterator2 = viewEnds.iterator(); iterator2.hasNext(); )
{
AssociationEndFacade viewEnd = ( AssociationEndFacade ) iterator2.next();
AssociationEndFacade otherEnd2 = viewEnd.getOtherEnd();
if ( otherEnd2.getType().hasStereotype( "ViewController" ) )
{
map.putAll( getViewCtrlUseCaseMap( otherEnd2.getType() ) );
}
else if ( otherEnd2.getType().hasStereotype( "View" ) && otherEnd2.isNavigable() )
{
map.putAll( getViewViewCtrlUseCaseMap( otherEnd2.getType() ) );
}
}
}
return map;
}