in src/main/java/com/amazonaws/eclipse/simpleworkflow/asynchrony/annotationprocessor/ProcessorUtils.java [426:446]
public static void writeAnnotation(StringBuilder builder, AnnotationMirror annotation) {
DeclaredType annotationDeclaration = annotation.getAnnotationType();
builder.append("@" + annotationDeclaration.asElement().toString() + "(");
boolean isFirst = true;
for (Entry<? extends ExecutableElement, ? extends AnnotationValue> entry : annotation.getElementValues().entrySet()) {
ExecutableElement elementKey = entry.getKey();
AnnotationValue elementValue = entry.getValue();
builder.append("\n");
if (isFirst) {
isFirst = false;
}
else {
builder.append(", ");
}
builder.append(elementKey.getSimpleName() + "=");
writeAnnotationValue(builder, elementValue);
}
builder.append(")\n");
}