T
- the class containing the method declaring the parameterpublic interface AnnotatedParameterConfigurator<T>
AnnotatedTypeConfigurator
spi and helps defining an AnnotatedParameter
Modifier and Type | Method and Description |
---|---|
AnnotatedParameterConfigurator<T> |
add(Annotation annotation)
Add an annotation to the field.
|
AnnotatedParameter<T> |
getAnnotated() |
AnnotatedParameterConfigurator<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 . |
AnnotatedParameterConfigurator<T> |
remove(Class<? extends Annotation> annotationType)
Removes all annotations with the same type.
|
AnnotatedParameterConfigurator<T> |
removeAll()
Remove all annotations from the method.
|
AnnotatedParameter<T> getAnnotated()
AnnotatedParameter
AnnotatedParameterConfigurator<T> add(Annotation annotation)
annotation
- to addAnnotatedParameterConfigurator<T> remove(Annotation annotation)
Nonbinding
. The container calls the Object.equals(Object)
method of the annotation member value
to compare values.annotation
- to removeAnnotatedParameterConfigurator<T> remove(Class<? extends Annotation> annotationType)
annotationType
- annotation class to removeAnnotatedParameterConfigurator<T> removeAll()
Copyright © 2008-2016 JBoss by Red Hat, Inc.. All Rights Reserved.