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