public interface HasAnnotations
| Modifier and Type | Method and Description |
|---|---|
void |
add(Annotation annotation)
Adds the annoation.
|
boolean |
addAnnotations(Map<String,Annotation> source,
boolean clearSource)
Adds all the annotations to this container.
|
Annotation |
getAnnotation(String name)
Gets the annotation by key/name.
|
Map<String,Annotation> |
getAnnotationMap()
Gets the annotation map.
|
Collection<Annotation> |
getAnnotations()
Gets the annotations.
|
void add(Annotation annotation)
boolean addAnnotations(Map<String,Annotation> source, boolean clearSource)
clearSource is true, the source arg is cleared.Map<String,Annotation> getAnnotationMap()
Collection<Annotation> getAnnotations()
Annotation getAnnotation(String name)
Copyright © 2009–2021. All rights reserved.