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