return compareNames(bodyDeclaration1, bodyDeclaration2,
enumName1, enumName2);
case ASTNode.ANNOTATION_TYPE_MEMBER_DECLARATION:
AnnotationTypeMemberDeclaration annotation1 = (AnnotationTypeMemberDeclaration) bodyDeclaration1;
AnnotationTypeMemberDeclaration annotation2 = (AnnotationTypeMemberDeclaration) bodyDeclaration2;
String annotationName1 = annotation1.getName()
.getIdentifier();
String annotationName2 = annotation2.getName()
.getIdentifier();
return compareNames(bodyDeclaration1, bodyDeclaration2,
annotationName1, annotationName2);