public interface AnnotatedConstuctorConfigurator<T>
| Modifier and Type | Method and Description |
|---|---|
AnnotatedConstuctorConfigurator<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() |
AnnotatedConstuctorConfigurator<T> |
remove(Annotation annotation)
Remove annotations with (a) the same type and (b) the same annotation member value for each member which is not
annotated
Nonbinding. |
AnnotatedConstuctorConfigurator<T> |
remove(Class<? extends Annotation> annotationType)
Removes all annotations with the same type.
|
AnnotatedConstuctorConfigurator<T> |
removeAll()
Remove all annotations from the constructor.
|
AnnotatedConstructor<T> getAnnotated()
AnnotatedConstructorAnnotatedConstuctorConfigurator<T> add(Annotation annotation)
annotation - AnnotatedConstuctorConfigurator<T> remove(Annotation annotation)
Nonbinding. The container calls the Object.equals(Object) method of the annotation member value
to compare values.annotation - AnnotatedConstuctorConfigurator<T> remove(Class<? extends Annotation> annotationType)
annotation - AnnotatedConstuctorConfigurator<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.