Class UnitsAnnotatedTypeFormatter

java.lang.Object
org.checkerframework.framework.type.DefaultAnnotatedTypeFormatter
org.checkerframework.checker.units.UnitsAnnotatedTypeFormatter
All Implemented Interfaces:
AnnotatedTypeFormatter

public class UnitsAnnotatedTypeFormatter extends DefaultAnnotatedTypeFormatter
Formats units-of-measure annotations.
  • Field Details

    • checker

      protected final BaseTypeChecker checker
      The checker.
    • elements

      protected final Elements elements
      Javac element utilities.
  • Constructor Details

    • UnitsAnnotatedTypeFormatter

      public UnitsAnnotatedTypeFormatter(BaseTypeChecker checker)
      Create a UnitsAnnotatedTypeFormatter.
      Parameters:
      checker - the checker