Annotation Interface Size


@Target({ANNOTATION_TYPE,PARAMETER,TYPE_USE}) @Retention(RUNTIME) @Documented @API(status=MAINTAINED, since="1.0") public @interface Size
Constrain the size of generated "sizable" types. Applies to List, Set, Stream, and arrays which are also annotated with @ForAll.
See Also:
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    int
     
    int
     
    int
     
  • Element Details

    • min

      int min
      Default:
      0
    • max

      int max
      Default:
      0
    • value

      int value
      Default:
      0