Interface AnnotationModel
-
- All Known Implementing Classes:
AnnotationModelImpl
public interface AnnotationModel
Models an annotation instance
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AnnotatedElement
getElement()
Returns the annotated element with this annotation instanceAnnotationType
getType()
Returns the annotation type for this modeljava.util.Map<java.lang.String,java.lang.Object>
getValues()
Returns an unmodifiable collection of annotation values.
-
-
-
Method Detail
-
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
java.util.Map<java.lang.String,java.lang.Object> getValues()
Returns an unmodifiable collection of annotation values.- Returns:
- collection of value elements of this annotation
-
-