Iterator iter = validatorDefns.iterator( ); while ( iter.hasNext( ) )
SemanticTriggerDefn triggerDefn = (SemanticTriggerDefn) iter.next( ); String targetName = triggerDefn.getTargetElement( );  if ( StringUtil.isBlank( targetName ) )
	public static List getValidationNodes( DesignElement element,			SemanticTriggerDefnSet triggers, boolean onlyOnSelf )	{		List nodes = new ArrayList( );		List validatorDefns = triggers.getTriggerList( );		if ( validatorDefns != null && !validatorDefns.isEmpty( ) )		{			Iterator iter = validatorDefns.iterator( );			while ( iter.hasNext( ) )			{				SemanticTriggerDefn triggerDefn = (SemanticTriggerDefn) iter						.next( );				String targetName = triggerDefn.getTargetElement( );				if ( StringUtil.isBlank( targetName ) )				{					ValidationNode node = new ValidationNode( element,							triggerDefn );					nodes.add( node );				}				else				{					ElementDefn targetDefn = (ElementDefn) MetaDataDictionary							.getInstance( ).getElement( targetName );					ElementDefn elementDefn = (ElementDefn) element.getDefn( );					if ( targetDefn.isKindOf( elementDefn ) || !onlyOnSelf )					{						ValidationNode node = new ValidationNode( element,								triggerDefn );						nodes.add( node );					}				}			}		}		return nodes;	}