Class AnnotationTypeImpl
java.lang.Object
org.glassfish.hk2.classmodel.reflect.impl.AnnotatedElementImpl
org.glassfish.hk2.classmodel.reflect.impl.TypeImpl
org.glassfish.hk2.classmodel.reflect.impl.ExtensibleTypeImpl<InterfaceModel>
org.glassfish.hk2.classmodel.reflect.impl.InterfaceModelImpl
org.glassfish.hk2.classmodel.reflect.impl.AnnotationTypeImpl
- All Implemented Interfaces:
AnnotatedElement, AnnotationType, ExtensibleType<InterfaceModel>, InterfaceModel, Type
Implementation of an annotation model
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddDefaultValue(String name, Object value) Returns an unmodifiable collection of annotated element with this annotation(package private) Set<AnnotatedElement> Returns an unmodifiable collection of annotation default values.protected voidprint(StringBuffer sb) prints a meaningful stringMethods inherited from class InterfaceModelImpl
allImplementations, implementationsMethods inherited from class ExtensibleTypeImpl
addField, addStaticField, allSubTypes, getInterfaces, getParameterizedInterfaces, getParent, getStaticFields, isImplementing, isImplementing, setParent, subTypesMethods inherited from class TypeImpl
addDefiningURI, addMethod, getDefiningURIs, getMethods, getProxy, getReferences, wasDefinedInMethods inherited from class AnnotatedElementImpl
addAnnotation, getAnnotation, getAnnotations, getName, isApplicationClass, setApplicationClass, shortDesc, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface AnnotatedElement
getAnnotation, getAnnotations, getName, shortDescMethods inherited from interface ExtensibleType
allSubTypes, getInterfaces, getParameterizedInterfaces, getParent, getStaticFields, subTypesMethods inherited from interface InterfaceModel
allImplementations, implementationsMethods inherited from interface Type
getDefiningURIs, getMethods, getReferences, wasDefinedIn
-
Field Details
-
references
-
defValues
-
-
Constructor Details
-
AnnotationTypeImpl
-
-
Method Details
-
allAnnotatedTypes
Description copied from interface:AnnotationTypeReturns an unmodifiable collection of annotated element with this annotation- Specified by:
allAnnotatedTypesin interfaceAnnotationType- Returns:
- collection of elements annotated with this annotation
-
addDefaultValue
-
getDefaultValues
Description copied from interface:AnnotationTypeReturns an unmodifiable collection of annotation default values.- Specified by:
getDefaultValuesin interfaceAnnotationType- Returns:
- collection of default value elements of this annotation
-
getAnnotatedElements
Set<AnnotatedElement> getAnnotatedElements() -
print
Description copied from class:ExtensibleTypeImplprints a meaningful string- Overrides:
printin classInterfaceModelImpl- Parameters:
sb- the string buffer to write to.
-