Annotation Interface Constraint


@Retention(CLASS) @Target(ANNOTATION_TYPE) public @interface Constraint
Marks an annotation as a Constraint class. Only annotations marked with Constraint are composable
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    Determines if the constraint can validate primitives without boxing
  • Element Details

    • unboxPrimitives

      boolean unboxPrimitives
      Determines if the constraint can validate primitives without boxing
      Default:
      false