javax.validation.constraints
@Target(value={METHOD,FIELD,ANNOTATION_TYPE,CONSTRUCTOR,PARAMETER}) @Retention(value=RUNTIME) @Documented @Constraint(validatedBy={}) public @interface NotNull
null
.
Accepts any type.Copyright © 2007–2014 JBoss by Red Hat. All rights reserved.