protected class DefaultQualifiedTypeFormatter.AnnoToQualFormatter extends DefaultAnnotationFormatter
QualParams
and
formatting it using a PrettyQualParamsFormatter
.Modifier | Constructor and Description |
---|---|
protected |
AnnoToQualFormatter() |
Modifier and Type | Method and Description |
---|---|
protected void |
formatAnnotationMirror(AnnotationMirror am,
StringBuilder sb)
A helper method to output a single AnnotationMirror, without showing full package names.
|
String |
formatAnnotationString(Collection<? extends AnnotationMirror> annos,
boolean printInvisible)
Creates a space String of each annotation in annos separated by a single space character,
obeying the printInvisible parameter.
|
formatAnnotationMirror, formatAnnotationMirrorArg, isInvisibleQualified
@SideEffectFree public String formatAnnotationString(Collection<? extends AnnotationMirror> annos, boolean printInvisible)
DefaultAnnotationFormatter
formatAnnotationString
in interface AnnotationFormatter
formatAnnotationString
in class DefaultAnnotationFormatter
annos
- a collection of annotations to printprintInvisible
- whether or not to print "invisible" annotation mirrorsInvisibleQualifier
protected void formatAnnotationMirror(AnnotationMirror am, StringBuilder sb)
DefaultAnnotationFormatter
formatAnnotationMirror
in class DefaultAnnotationFormatter