Interface AnnotatedTypeFormatter
- All Known Implementing Classes:
DefaultAnnotatedTypeFormatter
,NullnessAnnotatedTypeFormatter
,UnitsAnnotatedTypeFormatter
public interface AnnotatedTypeFormatter
Converts an AnnotatedTypeMirror mirror into a formatted string. For converting AnnotationMirrors:
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionformat
(AnnotatedTypeMirror type) Formats type into a String.format
(AnnotatedTypeMirror type, boolean printVerbose) Formats type into a String.
-
Method Details
-
format
Formats type into a String. Uses an implementation specific default for printing "invisible annotations"- Parameters:
type
- the type to be converted- Returns:
- a string representation of type
- See Also:
-
format
Formats type into a String.- Parameters:
type
- the type to be convertedprintVerbose
- whether or not to print verbosely- Returns:
- a string representation of type
- See Also:
-