public interface IWithAnnotations
| Modifier and Type | Method and Description |
|---|---|
<A extends IAnnotation> |
getAnnotation(Class<A> annotationType)
Gets the annotation object for a given class for this resource.
|
Iterable<IAnnotation> |
getAnnotations()
Gets the iterable list of the annotations for this resource.
|
void |
setAnnotation(IAnnotation annotation)
Sets an annotation object for this resource.
|
<A extends IAnnotation> A getAnnotation(Class<A> annotationType)
A - the type of the class.annotationType - the class of the annotation object to retrieve.void setAnnotation(IAnnotation annotation)
annotation - the annotation object to set.Iterable<IAnnotation> getAnnotations()
Copyright © 2019. All rights reserved.