org.glassfish.hk2.classmodel.reflect.impl
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
public class AnnotationTypeImpl
- extends InterfaceModelImpl
- implements AnnotationType
Implementation of an annotation model
AnnotationTypeImpl
public AnnotationTypeImpl(String name,
TypeProxy<Type> sink)
allAnnotatedTypes
public Collection<AnnotatedElement> allAnnotatedTypes()
- Description copied from interface:
AnnotationType
- Returns an unmodifiable collection of annotated element with
this annotation
- Specified by:
allAnnotatedTypes
in interface AnnotationType
- Returns:
- collection of elements annotated with this annotation
addDefaultValue
public void addDefaultValue(String name,
Object value)
getDefaultValues
public Map<String,Object> getDefaultValues()
- Description copied from interface:
AnnotationType
- Returns an unmodifiable collection of annotation default values.
- Specified by:
getDefaultValues
in interface AnnotationType
- Returns:
- collection of default value elements of this annotation
print
protected void print(StringBuffer sb)
- Description copied from class:
ExtensibleTypeImpl
- prints a meaningful string
- Overrides:
print
in class InterfaceModelImpl
- Parameters:
sb
- the string buffer to write to.
Copyright © 2013 Oracle Corporation. All Rights Reserved.