protected class CheckerAdapter.QualAnnotationFormatterAdapter extends Object implements AnnotatedTypeFormatter, AnnotationFormatter
| Constructor and Description |
|---|
QualAnnotationFormatterAdapter(QualifiedTypeFormatter<Q> qualifiedTypeFormatter) |
| Modifier and Type | Method and Description |
|---|---|
String |
format(AnnotatedTypeMirror type)
Formats type into a String.
|
String |
format(AnnotatedTypeMirror type,
boolean printInvisibles)
Formats type into a String.
|
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
|
public QualAnnotationFormatterAdapter(QualifiedTypeFormatter<Q> qualifiedTypeFormatter)
public String format(AnnotatedTypeMirror type)
AnnotatedTypeFormatterformat in interface AnnotatedTypeFormattertype - The type to be convertedInvisibleQualifierpublic String format(AnnotatedTypeMirror type, boolean printInvisibles)
AnnotatedTypeFormatterformat in interface AnnotatedTypeFormattertype - The type to be convertedprintInvisibles - whether or not to print invisible annotationsInvisibleQualifierpublic String formatAnnotationString(Collection<? extends AnnotationMirror> annos, boolean printInvisible)
AnnotationFormatterformatAnnotationString in interface AnnotationFormatterannos - A collection of annotations to printprintInvisible - Whether or not to print "invisible" annotation mirrorsInvisibleQualifierpublic String formatAnnotationMirror(AnnotationMirror anno)
AnnotationFormatterformatAnnotationMirror in interface AnnotationFormatteranno - The annotation mirror to convert