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.
-
Nested Class Summary
Nested Classes -
Required Element Summary
Required Elements -
Optional Element Summary
Optional Elements
-
Element Details
-
value
-
flags
int flags- Default:
0
-