Package org.junit.jupiter.params.support
Interface AnnotationConsumer<A extends java.lang.annotation.Annotation>
-
- All Superinterfaces:
java.util.function.Consumer<A>
@API(status=EXPERIMENTAL, since="5.0") public interface AnnotationConsumer<A extends java.lang.annotation.Annotation> extends java.util.function.Consumer<A>
@AnnotationConsumer
is a@FunctionalInterface
for consuming annotations.It is typically implemented by implementations of
ArgumentsProvider
andArgumentConverter
in order to signal that they canConsumer.accept(T)
a certain annotation.- Since:
- 5.0