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 java.util.stream.Stream<AnnotatedParameterConfigurator<T>> |
filterParams(java.util.function.Predicate<AnnotatedParameter<T>> predicate) |
AnnotatedConstructor<T> |
getAnnotated() |
List<AnnotatedParameterConfigurator<T>> |
params() |
AnnotatedConstructorConfigurator<T> |
remove(Annotation annotation)
Remove all annotation with (a) the same type and (b) the same annotation member value for each member which is not
annotated
Nonbinding. |
AnnotatedConstructorConfigurator<T> |
remove(Class<? extends Annotation> annotationType)
Removes all annotations with the same type.
|
AnnotatedConstructorConfigurator<T> |
removeAll()
Remove all annotations from the constructor.
|
AnnotatedConstructor<T> getAnnotated()
AnnotatedConstructorAnnotatedConstructorConfigurator<T> add(Annotation annotation)
annotation - annotation to addAnnotatedConstructorConfigurator<T> remove(Annotation annotation)
Nonbinding. The container calls the Object.equals(Object) method of the annotation member value
to compare values.annotation - annotation to removeAnnotatedConstructorConfigurator<T> remove(Class<? extends Annotation> annotationType)
annotationType - annotation class to removeAnnotatedConstructorConfigurator<T> removeAll()
List<AnnotatedParameterConfigurator<T>> params()
AnnotatedParameterConfigurators reflecting the
AnnotatedCallable.getParameters()default java.util.stream.Stream<AnnotatedParameterConfigurator<T>> filterParams(java.util.function.Predicate<AnnotatedParameter<T>> predicate)
predicate - Testing the original AnnotatedParameterAnnotatedParameterConfigurators matching the given predicateAnnotatedParameterConfigurator.getAnnotated()Copyright © 2008-2016 JBoss by Red Hat, Inc.. All Rights Reserved.