Annotation Interface InRange
@Target(TYPE_USE)
@Retention(RUNTIME)
@AppliesTo({byte.class,java.lang.Byte.class,short.class,java.lang.Short.class,int.class,java.lang.Integer.class,long.class,java.lang.Long.class})
public @interface InRange
Generates an integral number in the specified range.
- See Also:
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionDefines the scope of the annotation.longThe maximum value of the range, inclusive.longThe minimum value of the range, inclusive.
-
Element Details
-
min
long minThe minimum value of the range, inclusive.- Default:
-9223372036854775808L
-
max
long maxThe maximum value of the range, inclusive.- Default:
9223372036854775807L
-
constraint
String constraintDefines the scope of the annotation. Possible values are defined inPropertyConstraint.- Default:
"JAZZER_PROPERTY_CONSTRAINT_DECLARATION"
-