Class UnitsAnnotatedTypeFormatter
java.lang.Object
org.checkerframework.framework.type.DefaultAnnotatedTypeFormatter
org.checkerframework.checker.units.UnitsAnnotatedTypeFormatter
- All Implemented Interfaces:
AnnotatedTypeFormatter
Formats units-of-measure annotations.
-
Nested Class Summary
Modifier and TypeClassDescriptionprotected static class
Format the error printout of any units qualifier that uses Prefix.one.protected static class
Nested classes/interfaces inherited from class org.checkerframework.framework.type.DefaultAnnotatedTypeFormatter
DefaultAnnotatedTypeFormatter.FormattingVisitor
-
Field Summary
Modifier and TypeFieldDescriptionprotected final BaseTypeChecker
The checker.protected final Elements
Javac element utilities.Fields inherited from class org.checkerframework.framework.type.DefaultAnnotatedTypeFormatter
captureConversionIds, formattingVisitor, prevCaptureConversionId
-
Constructor Summary
ConstructorDescriptionCreate a UnitsAnnotatedTypeFormatter. -
Method Summary
Methods inherited from class org.checkerframework.framework.type.DefaultAnnotatedTypeFormatter
format, format
-
Field Details
-
checker
The checker. -
elements
Javac element utilities.
-
-
Constructor Details
-
UnitsAnnotatedTypeFormatter
Create a UnitsAnnotatedTypeFormatter.- Parameters:
checker
- the checker
-