-
@Documented @Retention(SOURCE) @Target({FIELD,METHOD,PARAMETER}) @ConstraintRule(supportedTypes=java.util.List.class, validatorClass=SizeConstraintValidator.class) public @interface Size
The annotated element must have the expected list size.- Author:
- nedis