T - the class declaring the fieldpublic interface AnnotatedFieldConfigurator<T>
AnnotatedTypeConfigurator SPI and helps defining an AnnotatedField| Modifier and Type | Method and Description | 
|---|---|
| AnnotatedFieldConfigurator<T> | add(java.lang.annotation.Annotation annotation)Add an annotation to the field. | 
| AnnotatedField<T> | getAnnotated() | 
| AnnotatedFieldConfigurator<T> | remove(java.util.function.Predicate<java.lang.annotation.Annotation> predicate)Remove annotations that match the specified predicate. | 
| default AnnotatedFieldConfigurator<T> | removeAll()Remove all the annotations. | 
AnnotatedField<T> getAnnotated()
AnnotatedFieldAnnotatedFieldConfigurator<T> add(java.lang.annotation.Annotation annotation)
annotation - the annotation to addAnnotatedFieldConfigurator<T> remove(java.util.function.Predicate<java.lang.annotation.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 AnnotatedFieldConfigurator<T> removeAll()