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 String of each annotation in annos separated by a single space character and
terminated by a space character, obeying the printInvisible parameter.
|
formatAnnotationMirror, formatAnnotationMirror, formatAnnotationMirrorArg, isInvisibleQualifiedprotected final BaseTypeChecker checker
protected final Elements elements
public UnitsAnnotationFormatter(BaseTypeChecker checker)
public String formatAnnotationString(Collection<? extends AnnotationMirror> annos, boolean printInvisible)
DefaultAnnotationFormatterformatAnnotationString in interface AnnotationFormatterformatAnnotationString in class DefaultAnnotationFormatterannos - a collection of annotations to printprintInvisible - whether or not to print "invisible" annotation mirrorsInvisibleQualifier