@Pattern
示例:
@Pattern("\\d\\d-\\d\\d\\d") String getId() { return "1"; }
使用标记非编译时常量表达式选项,可以让检查报告具有未知值的表达式,并提议添加替换 (@Subst) 注解
@Subst