Annotation Type StringLength


  • @Target({ANNOTATION_TYPE,PARAMETER,TYPE_USE})
    @Retention(RUNTIME)
    @Documented
    @API(status=MAINTAINED,
         since="1.0")
    public @interface StringLength
    Constrain the length of generated Strings. Applies to String parameters 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

      • value

        int value
        Default:
        0
      • min

        int min
        Default:
        0
      • max

        int max
        Default:
        0