Module org.junit.jupiter.params
Package org.junit.jupiter.params.support
Interface AnnotationConsumer<A extends Annotation>
-
- All Superinterfaces:
Consumer<A>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface @API(status=EXPERIMENTAL, since="5.0") public interface AnnotationConsumer<A extends Annotation> extends Consumer<A>
AnnotationConsumer
is a functional interface 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