for ( Iterator ii = valuesPresent.entrySet().iterator(); ii.hasNext(); )
{
Map.Entry i = ( Map.Entry ) ii.next();
AnnotationTypeElementDeclaration decl = ( AnnotationTypeElementDeclaration ) i.getKey();
AnnotationValue value = ( AnnotationValue ) i.getValue();
String memberName = decl.getSimpleName();
wasPresent.add( memberName );
onCheckMember( decl, value, annotation, parentAnnotations, classMember );
Object grammarOrType = null;
if ( ( grammarOrType = _memberGrammars.get( memberName ) ) != null )
{
AnnotationGrammar childGrammar = ( AnnotationGrammar ) grammarOrType;
if ( childGrammar != null ) // it will be non-null unless there are other, more basic, errors
{
Object result =
childGrammar.check( ( AnnotationInstance ) value.getValue(), parentsIncludingMe, classMember );
if ( result != null )
{
checkResults.put( memberName, result );
}