Package net.jqwik.api.constraints
Annotation Interface 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:
-
Optional Element Summary
-
Element Details
-
value
int value- Default:
- 0
-
min
int min- Default:
- 0
-
max
int max- Default:
- 0
-