if( javaTypeConstraintService != null )
{
final JavaTypeConstraintBehavior behavior = javaTypeConstraintService.behavior();
final Collection<String> types = javaTypeConstraintService.types();
final Iterator<String> iterator = types.iterator();
for( int i = 0, n = ( behavior == JavaTypeConstraintBehavior.ALL ? types.size() : min( 1, types.size() ) ); i < n; i++ )
{
final String typeName = iterator.next();