1import java.lang.annotation.Documented;
2import java.lang.annotation.ElementType;
3import java.lang.annotation.Retention;
4import java.lang.annotation.RetentionPolicy;
5
6import javax.annotation.MatchesPattern;
7import javax.annotation.meta.TypeQualifierNickname;
8
9@Documented
10@TypeQualifierNickname
11@MatchesPattern("[0-9]{3}-[0-9]{2}-[0-9]{4}")
12@Retention(RetentionPolicy.RUNTIME)
13public @interface SocialSecurityNumber {
14}
15