Package jakarta.validation.constraints
Annotation Type Null
-
@Target({METHOD,FIELD,ANNOTATION_TYPE,CONSTRUCTOR,PARAMETER,TYPE_USE}) @Retention(RUNTIME) @Repeatable(List.class) @Documented @Constraint(validatedBy={}) public @interface Null
The annotated element must benull
. Accepts any type.- Author:
- Emmanuel Bernard
-
-
-
payload
java.lang.Class<? extends Payload>[] payload
- Default:
- {}
-
-