static String sourceFormForAnnotation ( AnnotationMirror annotationMirror ) { StringBuilder sb = new StringBuilder ( ) ; new AnnotationSourceFormVisitor ( ) . visitAnnotation ( annotationMirror , sb ) ; return sb . toString ( ) ; }
Returns a string representation of the given annotation mirror suitable for inclusion in a Java source file to reproduce the annotation in source form .