@Pattern
アノテーションが
String
以外の型の要素に適用されている場合に報告します。
例:
@Pattern("\\d\\d")
int
i;