public interface Constraint<ANNOTATION extends Annotation,TYPE>
| Modifier and Type | Method and Description |
|---|---|
boolean |
isValid(ANNOTATION annotation,
TYPE value)
For each value or parameter which should be checked this method will be invoked.
|
boolean isValid(ANNOTATION annotation, TYPE value)
annotation - the annotation to matchvalue - the value to be checked