Map elementValues = annotation.getElementValues();
for ( Iterator i = elementValues.entrySet().iterator(); i.hasNext(); )
{
Map.Entry entry = ( Map.Entry ) i.next();
AnnotationTypeElementDeclaration elementDecl = ( AnnotationTypeElementDeclaration ) entry.getKey();
AnnotationValue annotationValue = ( AnnotationValue ) entry.getValue();
String name = elementDecl.getSimpleName();
Object value = annotationValue.getValue();
Element xmlAttr = _xw.addElement(xmlAnnotation, "annotation-attribute");
_xw.addElementWithText(xmlAttr, "attribute-name", name);
if ( value instanceof List )