T - the class declaring the constructorpublic interface AnnotatedConstructorConfigurator<T>
AnnotatedTypeConfigurator SPI and helps defining an AnnotatedConstructor| Modifier and Type | Method and Description | 
|---|---|
| AnnotatedConstructorConfigurator<T> | add(Annotation annotation)Add an annotation to the constructor. | 
| default Stream<AnnotatedParameterConfigurator<T>> | filterParams(Predicate<AnnotatedParameter<T>> predicate) | 
| AnnotatedConstructor<T> | getAnnotated() | 
| List<AnnotatedParameterConfigurator<T>> | params() | 
| AnnotatedConstructorConfigurator<T> | remove(Predicate<Annotation> predicate)Remove annotations that match the specified predicate. | 
| default AnnotatedConstructorConfigurator<T> | removeAll()Remove all the annotations. | 
AnnotatedConstructor<T> getAnnotated()
AnnotatedConstructorAnnotatedConstructorConfigurator<T> add(Annotation annotation)
annotation - the annotation to addAnnotatedConstructorConfigurator<T> remove(Predicate<Annotation> predicate)
Example predicates:
  
 // To remove all the annotations:
 (a) -> true
 
 // To remove annotations with a concrete annotation type:
 (a) -> a.annotationType().equals(Foo.class)
 
 // To remove annotation equal to a specified object:
 (a) -> a.equals(fooAnnotation)
 
 // To remove annotations that are considered equivalent for the purposes of typesafe resolution:
 (a) -> beanManager.areQualifiersEquivalent(a, fooQualifier)
 (a) -> beanManager.areInterceptorBindingsEquivalent(a, fooInterceptorBinding)
 
 predicate - Predicate used to filter annotations to removedefault AnnotatedConstructorConfigurator<T> removeAll()
List<AnnotatedParameterConfigurator<T>> params()
AnnotatedParameterConfigurators reflecting the
         AnnotatedCallable.getParameters()default Stream<AnnotatedParameterConfigurator<T>> filterParams(Predicate<AnnotatedParameter<T>> predicate)
predicate - Testing the original AnnotatedParameterAnnotatedParameterConfigurators matching the given predicateAnnotatedParameterConfigurator.getAnnotated()Comments to: cdi-dev@eclipse.org.
 Copyright © 2019 Eclipse Foundation.
 Use is subject to license terms.