Package org.junit.jupiter.params.support
Interface AnnotationConsumer<A extends java.lang.annotation.Annotation>
-
- All Superinterfaces:
java.util.function.Consumer<A>
- All Known Implementing Classes:
AnnotationBasedArgumentConverter
,AnnotationBasedArgumentsProvider
,CsvArgumentsProvider
,CsvFileArgumentsProvider
,EnumArgumentsProvider
,JavaTimeArgumentConverter
,MethodArgumentsProvider
,ValueArgumentsProvider
- 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=STABLE, since="5.7") public interface AnnotationConsumer<A extends java.lang.annotation.Annotation> extends java.util.function.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 canaccept
a certain annotation.- Since:
- 5.0