Top Description Fields Constructors Methods
org.glassfish.hk2.classmodel.reflect.impl

public Class AnnotationTypeImpl

extends InterfaceModelImpl
implements AnnotationType
Class Inheritance
All Implemented Interfaces
org.glassfish.hk2.classmodel.reflect.AnnotationType, org.glassfish.hk2.classmodel.reflect.InterfaceModel, org.glassfish.hk2.classmodel.reflect.ExtensibleType, org.glassfish.hk2.classmodel.reflect.Type, org.glassfish.hk2.classmodel.reflect.AnnotatedElement
Imports
org.glassfish.hk2.classmodel.reflect.*, java.util.*

Implementation of an annotation model

Field Summary

Modifier and TypeField and Description
private final Map<String, Object>
private final Set<AnnotatedElement>

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
public Collection<AnnotatedElement>
allAnnotatedTypes()

Implements org.glassfish.hk2.classmodel.reflect.AnnotationType.allAnnotatedTypes.

Returns an unmodifiable collection of annotated element with this annotation

pack-priv Set<AnnotatedElement>
public Object
getDefaultValue(String key)

Implements org.glassfish.hk2.classmodel.reflect.AnnotationType.getDefaultValue.

Returns the value to which the key is mapped

public Map<String, Object>
getDefaultValues()

Implements org.glassfish.hk2.classmodel.reflect.AnnotationType.getDefaultValues.

Returns an unmodifiable collection of annotation default values.

Inherited from org.glassfish.hk2.classmodel.reflect.impl.InterfaceModelImpl:
allImplementationsimplementations

Field Detail

defValuesback to summary
private final Map<String, Object> defValues
referencesback to summary
private final Set<AnnotatedElement> references

Constructor Detail

AnnotationTypeImplback to summary
public AnnotationTypeImpl(String name, TypeProxy<Type> sink)

Method Detail

addDefaultValueback to summary
public void addDefaultValue(String name, Object value)
allAnnotatedTypesback to summary
public Collection<AnnotatedElement> allAnnotatedTypes()

Implements org.glassfish.hk2.classmodel.reflect.AnnotationType.allAnnotatedTypes.

Doc from org.glassfish.hk2.classmodel.reflect.AnnotationType.allAnnotatedTypes.

Returns an unmodifiable collection of annotated element with this annotation

getAnnotatedElementsback to summary
pack-priv Set<AnnotatedElement> getAnnotatedElements()
getDefaultValueback to summary
public Object getDefaultValue(String key)

Implements org.glassfish.hk2.classmodel.reflect.AnnotationType.getDefaultValue.

Doc from org.glassfish.hk2.classmodel.reflect.AnnotationType.getDefaultValue.

Returns the value to which the key is mapped

Annotations
@Override
getDefaultValuesback to summary
public Map<String, Object> getDefaultValues()

Implements org.glassfish.hk2.classmodel.reflect.AnnotationType.getDefaultValues.

Doc from org.glassfish.hk2.classmodel.reflect.AnnotationType.getDefaultValues.

Returns an unmodifiable collection of annotation default values.

Annotations
@Override