Annotation Interface NonPositive
@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,float.class,java.lang.Float.class,double.class,java.lang.Double.class})
public @interface NonPositive
Generates a non-positive number, that is, a number <= 0.
For float and double this does not include NaN.
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionDefines the scope of the annotation.
-
Element Details
-
constraint
String constraintDefines the scope of the annotation. Possible values are defined inPropertyConstraint.- Default:
"JAZZER_PROPERTY_CONSTRAINT_DECLARATION"
-