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
 java.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


Copyright © 2010 Oracle Corporation. All Rights Reserved.