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