org.glassfish.hk2.classmodel.reflect
Interface AnnotationModel

All Known Implementing Classes:
AnnotationModelImpl

public interface AnnotationModel

Models an annotation instance

Author:
Jerome Dochez

Method Summary
 AnnotatedElement getElement()
          Returns the annotated element with this annotation instance
 AnnotationType getType()
          Returns the annotation type for this model
 Map<String,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

Map<String,Object> getValues()
Returns an unmodifiable collection of annotation values.

Returns:
collection of value elements of this annotation


Copyright © 2013 Oracle Corporation. All Rights Reserved.