Package jakarta.validation.constraints
Annotation Interface 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 be
null
.
Accepts any type.- Author:
- Emmanuel Bernard
-
Nested Class Summary
-
Optional Element Summary