@Override public Map<? extends MutableExecutableType, ? extends MutableTypeValue> getElementValues() { return mutableAnnotation.getElementValues(); }
public void print(MutableAnnotationMirror annotation) { pw.print("@", annotation.getAnnotationType()); if (annotation.getElementValues().size() > 0) { pw.print("("); int i = 0; for (Entry<? extends MutableExecutableType, ? extends MutableTypeValue> annotationValue: annotation.getElementValues().entrySet()) { if (i > 0) { pw.print(", "); if (pw.getCurrentPosition() > FormattedPrintWriter.LINE_LENGTH) { pw.println(); pw.print(" "); } } pw.print(annotationValue.getKey().getSimpleName() + " = ", annotationValue.getValue()); i++; } pw.print(")"); } pw.println(); }