T - the class declaring the methodpublic interface AnnotatedMethodConfigurator<T>
AnnotatedTypeConfigurator spi and helps defining an AnnotatedMethod| Modifier and Type | Method and Description |
|---|---|
AnnotatedMethodConfigurator<T> |
add(Annotation annotation)
Add an annotation to the field.
|
default java.util.stream.Stream<AnnotatedParameterConfigurator<T>> |
filterParams(java.util.function.Predicate<AnnotatedParameter<T>> predicate) |
AnnotatedMethod<T> |
getAnnotated() |
List<AnnotatedParameterConfigurator<T>> |
params() |
AnnotatedMethodConfigurator<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. |
AnnotatedMethodConfigurator<T> |
remove(Class<? extends Annotation> annotationType)
Removes all annotations with the same type.
|
AnnotatedMethodConfigurator<T> |
removeAll()
Remove all annotations from the method.
|
AnnotatedMethod<T> getAnnotated()
AnnotatedMethodAnnotatedMethodConfigurator<T> add(Annotation annotation)
annotation - to addAnnotatedMethodConfigurator<T> remove(Annotation annotation)
Nonbinding. The container calls the Object.equals(Object) method of the annotation member value
to compare values.annotation - to removeAnnotatedMethodConfigurator<T> remove(Class<? extends Annotation> annotationType)
annotationType - annotation class to removeAnnotatedMethodConfigurator<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.