Package javax.annotation
Annotation Type MatchesPattern
-
@Documented @TypeQualifier(applicableTo=java.lang.String.class) @Retention(RUNTIME) public @interface MatchesPattern
This annotation is used to denote String values that should always match given pattern.When this annotation is applied to a method it applies to the method return value.
-
-
Element Detail
-
value
@RegEx java.lang.String value
-
-