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