public interface AnnotationFormatter
AnnotatedTypeFormatter| Modifier and Type | Method and Description |
|---|---|
String |
formatAnnotationMirror(AnnotationMirror anno)
Converts an individual annotation mirror into a String.
|
String |
formatAnnotationString(Collection<? extends AnnotationMirror> annos,
boolean printInvisible)
Converts a collection of annotation mirrors into a String.
|
@SideEffectFree String formatAnnotationString(Collection<? extends AnnotationMirror> annos, boolean printInvisible)
annos - a collection of annotations to printprintInvisible - whether or not to print "invisible" annotation mirrorsInvisibleQualifier@SideEffectFree String formatAnnotationMirror(AnnotationMirror anno)
anno - the annotation mirror to convert