Annotation Interface UnitsRelations


@Documented @Retention(RUNTIME) public @interface UnitsRelations
Specify the class that knows how to handle the meta-annotated unit when put in relation (plus, multiply, ...) with another unit. That class is a subtype of interface UnitsRelations.
See Also:
  • UnitsRelations
See the Checker Framework Manual:
Units Checker
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Returns the subclass of UnitsRelations to use.
  • Element Details

    • value

      Class<?> value
      Returns the subclass of UnitsRelations to use.
      Returns:
      the subclass of UnitsRelations to use