public class DefaultAnnotationFormatter extends Object implements AnnotationFormatter
| Constructor and Description | 
|---|
DefaultAnnotationFormatter()  | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
formatAnnotationMirror(AnnotationMirror anno)
Returns the string representation of a single AnnotationMirror, without showing full package
 names. 
 | 
protected void | 
formatAnnotationMirror(AnnotationMirror am,
                      StringBuilder sb)
A helper method to output a single AnnotationMirror, without showing full package names. 
 | 
protected void | 
formatAnnotationMirrorArg(AnnotationValue av,
                         StringBuilder sb)  | 
String | 
formatAnnotationString(Collection<? extends AnnotationMirror> annos,
                      boolean printInvisible)
Creates a String of each annotation in annos separated by a single space character and
 terminated by a space character, obeying the printInvisible parameter. 
 | 
static boolean | 
isInvisibleQualified(AnnotationMirror anno)
Returns true if, by default, anno should not be printed. 
 | 
public static boolean isInvisibleQualified(AnnotationMirror anno)
InvisibleQualifier@SideEffectFree public String formatAnnotationString(Collection<? extends AnnotationMirror> annos, boolean printInvisible)
formatAnnotationString in interface AnnotationFormatterannos - a collection of annotations to printprintInvisible - whether or not to print "invisible" annotation mirrorsInvisibleQualifier@SideEffectFree public String formatAnnotationMirror(AnnotationMirror anno)
formatAnnotationMirror in interface AnnotationFormatteranno - the annotation mirror to convertprotected void formatAnnotationMirror(AnnotationMirror am, StringBuilder sb)
protected void formatAnnotationMirrorArg(AnnotationValue av, StringBuilder sb)