Interface AnnotationModel
- All Known Implementing Classes:
AnnotationModelImpl
public interface AnnotationModel
Models an annotation instance
-
Method Summary
Modifier and TypeMethodDescriptionReturns the annotated element with this annotation instancegetType()
Returns the annotation type for this modelReturns an unmodifiable collection of annotation values.
-
Method Details
-
getType
AnnotationType getType()Returns the annotation type for this model- Returns:
- the annotation type
-
getElement
AnnotatedElement getElement()Returns the annotated element with this annotation instance- Returns:
- the annotated element
-
getValues
Returns an unmodifiable collection of annotation values.- Returns:
- collection of value elements of this annotation
-