// Bail out if no @ControlReferences annotation found
if ( controlMirror == null )
return;
AptAnnotationHelper controlAnnot = new AptAnnotationHelper(controlMirror);
//
// Validate that the types listed in the ControlReferences annotations are actually
// control types.
//
Collection<AnnotationValue> references = (Collection<AnnotationValue>)controlAnnot.getObjectValue("value");
if ( references != null )
{
for ( AnnotationValue av : references )
{