Package javax.validation.constraints
Annotation Interface Null
@Target({METHOD,FIELD,ANNOTATION_TYPE,CONSTRUCTOR,PARAMETER})
@Retention(RUNTIME)
@Documented
@Constraint(validatedBy={})
public @interface Null
The annotated element must be
null
.
Accepts any type.-
Nested Class Summary
-
Optional Element Summary