NotEmpty
constraint instead@Documented @Constraint(validatedBy={}) @SupportedValidationTarget(value=ANNOTATED_ELEMENT) @Target(value={METHOD,FIELD,ANNOTATION_TYPE,CONSTRUCTOR,PARAMETER,TYPE_USE}) @Retention(value=RUNTIME) @Repeatable(value=NotEmpty.List.class) @ReportAsSingleViolation @NotNull @Size(min=1) @Deprecated public @interface NotEmpty
null
or empty.Copyright © 2019 JBoss by Red Hat. All rights reserved.