Package jakarta.validation.constraints
Annotation Interface NotNull
@Target({METHOD,FIELD,ANNOTATION_TYPE,CONSTRUCTOR,PARAMETER,TYPE_USE})
@Retention(RUNTIME)
@Repeatable(List.class)
@Documented
@Constraint(validatedBy={})
public @interface NotNull
The annotated element must not be 
null.
 Accepts any type.- Author:
 - Emmanuel Bernard
 
- 
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic @interfaceDefines severalNotNullannotations on the same element. - 
Optional Element Summary
Optional Elements