Annotation Interface WithSize
@Target(TYPE_USE)
@Retention(RUNTIME)
@AppliesTo({java.util.List.class,java.util.Map.class})
public @interface WithSize
- See Also:
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionDefines the scope of the annotation.intThe maximum size, inclusive.intThe minimum size, inclusive.
-
Element Details
-
min
int minThe minimum size, inclusive.- Default:
0
-
max
int maxThe maximum size, inclusive.- Default:
1000
-
constraint
String constraintDefines the scope of the annotation. Possible values are defined inPropertyConstraint.- Default:
"JAZZER_PROPERTY_CONSTRAINT_DECLARATION"
-