| Validator that checks that the value of an attribute of type string matches
to a given regular expression
For example, if the value() of an annotation @A must either be "collection"
or "singleton", the definition of @A must be:
public @interface A{
@Matches("(collection|singleton)") String value();
}
See Also: spoon.aval.support.validator.MatchesValidator |