protected static class UnitsAnnotatedTypeFormatter.UnitsAnnotationFormatter extends DefaultAnnotationFormatter
Modifier and Type | Field and Description |
---|---|
protected BaseTypeChecker |
checker |
protected Elements |
elements |
Constructor and Description |
---|
UnitsAnnotationFormatter(BaseTypeChecker checker) |
Modifier and Type | Method and Description |
---|---|
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, formatAnnotationMirror, formatAnnotationMirrorArg, isInvisibleQualified
protected final BaseTypeChecker checker
protected final Elements elements
public UnitsAnnotationFormatter(BaseTypeChecker checker)
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