Annotation Type 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:
    ForAll
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      int max  
      int min  
      int value  
    • Element Detail

      • min

        int min
        Default:
        0
      • max

        int max
        Default:
        0
      • value

        int value
        Default:
        0