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