@Retention(value=RUNTIME)
@Target(value=ANNOTATION_TYPE)
@Inherited
public @interface ValidateWith
AnnotationValidator
to be attached to an annotation.
When attached to an annotation, the validator will be instantiated and invoked
by the ParentRunner
.
Modifier and Type | Required Element and Description |
---|---|
java.lang.Class<? extends AnnotationValidator> |
value |
public abstract java.lang.Class<? extends AnnotationValidator> value