@API(status=EXPERIMENTAL, since="5.0") public interface AnnotationConsumer<A extends Annotation> extends Consumer<A>
@AnnotationConsumer
is a @FunctionalInterface
for consuming
annotations.
It is typically implemented by implementations of
ArgumentsProvider
and
ArgumentConverter
in order to
signal that they can Consumer.accept(T)
a certain annotation.