blob: 03d790670f75961a00140bab1ebc4a43144cf7fd [file] [log] [blame]
package org.junit.validator;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
/**
* Allows for an {@link AnnotationValidator} to be attached to an annotation.
*
* <p>When attached to an annotation, the validator will be instantiated and invoked
* by the {@link org.junit.runners.ParentRunner}.</p>
*
* @since 4.12
*/
@Retention(RetentionPolicy.RUNTIME)
@Inherited
public @interface ValidateWith {
Class<? extends AnnotationValidator> value();
}