注释类型 Chinese
-
@Documented @Retention(RUNTIME) @Target({METHOD,FIELD,ANNOTATION_TYPE,CONSTRUCTOR,PARAMETER,TYPE_USE}) @Constraint(validatedBy=ChineseValidator.class) public @interface Chinese
验证是否为汉字- 从以下版本开始:
- 2019年5月8日
- 作者:
- ylyue
@Documented @Retention(RUNTIME) @Target({METHOD,FIELD,ANNOTATION_TYPE,CONSTRUCTOR,PARAMETER,TYPE_USE}) @Constraint(validatedBy=ChineseValidator.class) public @interface Chinese