Class AnnotationModelImpl
java.lang.Object
org.glassfish.hk2.classmodel.reflect.impl.AnnotationModelImpl
- All Implemented Interfaces:
AnnotationModel
Model a annotation instance
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final AnnotatedElement
(package private) final AnnotationType
-
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
type
-
element
-
values
-
-
Constructor Details
-
AnnotationModelImpl
-
-
Method Details
-
toString
-
addValue
-
unwrap
-
getValues
Description copied from interface:AnnotationModel
Returns an unmodifiable collection of annotation values.- Specified by:
getValues
in interfaceAnnotationModel
- Returns:
- collection of value elements of this annotation
-
getType
Description copied from interface:AnnotationModel
Returns the annotation type for this model- Specified by:
getType
in interfaceAnnotationModel
- Returns:
- the annotation type
-
getElement
Description copied from interface:AnnotationModel
Returns the annotated element with this annotation instance- Specified by:
getElement
in interfaceAnnotationModel
- Returns:
- the annotated element
-