This API is a helper to configure a new AnnotatedType instance. The container must provide an implementation of
this interface.
AnnotatedTypeConfigurator is not reusable.
This configurator is not thread safe and shall not be used concurrently.
CDI Lite implementations are not required to provide support for Portable Extensions.
BeforeBeanDiscovery#addAnnotatedType(Class, String), AfterTypeDiscovery#addAnnotatedType(Class, String), ProcessAnnotatedType#configureAnnotatedType()
| Modifier and Type | Method and Description |
|---|---|
| public AnnotatedTypeConfigurator | |
| public Set | Returns: an immutable set ofAnnotatedConstructorConfigurators reflecting the
AnnotatedType#getConstructors()
|
| public Set | |
| public default Stream | Returns: a sequence ofAnnotatedConstructorConfigurators matching the given predicateTesting the original predicate)AnnotatedConstructor
|
| public default Stream | Returns: a sequence ofAnnotatedFieldConfigurators matching the given predicateTesting the original predicate)AnnotatedField
|
| public default Stream | Returns: a sequence ofAnnotatedMethodConfigurators matching the given predicateTesting the original predicate)AnnotatedMethod
|
| public AnnotatedType | |
| public Set | |
| public AnnotatedTypeConfigurator | Returns: selfPredicate used to filter annotations to removeRemove annotations that match the specified predicate. |
| public default AnnotatedTypeConfigurator |
| add | back to summary |
|---|---|
| public AnnotatedTypeConfigurator Add an annotation to the type.
| |
| constructors | back to summary |
|---|---|
public Set
| |
| fields | back to summary |
|---|---|
public Set
| |
| filterConstructors | back to summary |
|---|---|
public default Stream
| |
| filterFields | back to summary |
|---|---|
public default Stream
| |
| filterMethods | back to summary |
|---|---|
public default Stream
| |
| getAnnotated | back to summary |
|---|---|
public AnnotatedType
| |
| methods | back to summary |
|---|---|
public Set
| |
| remove | back to summary |
|---|---|
| public AnnotatedTypeConfigurator Remove annotations that match the specified predicate. Example predicates:
| |
| removeAll | back to summary |
|---|---|
| public default AnnotatedTypeConfigurator Remove all the annotations.
| |