Module org.glassfish.hk2.classmodel
Interface AnnotationType
- All Superinterfaces:
AnnotatedElement
,ExtensibleType<InterfaceModel>
,InterfaceModel
,Type
- All Known Implementing Classes:
AnnotationTypeImpl
Represents an annotation
- Author:
- Jerome Dochez
-
Method Summary
Modifier and TypeMethodDescriptionReturns an unmodifiable collection of annotated element with this annotationgetDefaultValue
(String key) Returns the value to which the key is mappedReturns an unmodifiable collection of annotation default values.Methods inherited from interface org.glassfish.hk2.classmodel.reflect.AnnotatedElement
getAnnotation, getAnnotations, getName, shortDesc
Methods inherited from interface org.glassfish.hk2.classmodel.reflect.ExtensibleType
allSubTypes, getFormalTypeParameters, getInterfaces, getParameterizedInterface, getParameterizedInterfaces, getParent, getSimpleName, getStaticFields, isInstanceOf, subTypes
Methods inherited from interface org.glassfish.hk2.classmodel.reflect.InterfaceModel
allImplementations, implementations
Methods inherited from interface org.glassfish.hk2.classmodel.reflect.Type
getDefiningURIs, getMethods, getReferences, wasDefinedIn
-
Method Details
-
allAnnotatedTypes
Collection<AnnotatedElement> allAnnotatedTypes()Returns an unmodifiable collection of annotated element with this annotation- Returns:
- collection of elements annotated with this annotation
-
getDefaultValues
Returns an unmodifiable collection of annotation default values.- Returns:
- collection of default value elements of this annotation
-
getDefaultValue
Returns the value to which the key is mapped- Parameters:
key
- the key whose associated value is to be returned- Returns:
- the default value.
-