@Target(value={METHOD,FIELD,ANNOTATION_TYPE,CONSTRUCTOR,PARAMETER,TYPE_USE}) @Retention(value=RUNTIME) @Repeatable(value=Size.List.class) @Documented @Constraint(validatedBy={}) public @interface Size
Supported types are:
CharSequence
(length of character sequence is evaluated)Collection
(collection size is evaluated)Map
(map size is evaluated)
null
elements are considered valid.
Copyright © 2020 JBoss by Red Hat. All rights reserved.