Top Description Methods
org.glassfish.hk2.classmodel.reflect

public Interface AnnotationType

extends InterfaceModel
Known Direct Implementers
org.glassfish.hk2.classmodel.reflect.impl.AnnotationTypeImpl
Imports
java.util.Collection, .Map

Represents an annotation
Author
Jerome Dochez

Method Summary

Modifier and TypeMethod and Description
public Collection<AnnotatedElement>

Returns:

collection of elements annotated with this annotation
allAnnotatedTypes
()

Returns an unmodifiable collection of annotated element with this annotation

public Object

Returns:

the default value.
getDefaultValue
(String
the key whose associated value is to be returned
key
)

Returns the value to which the key is mapped

public Map<String, Object>

Returns:

collection of default value elements of this annotation
getDefaultValues
()

Returns an unmodifiable collection of annotation default values.

Inherited from org.glassfish.hk2.classmodel.reflect.InterfaceModel:
allImplementationsimplementations

Method Detail

allAnnotatedTypesback to summary
public Collection<AnnotatedElement> allAnnotatedTypes()

Returns an unmodifiable collection of annotated element with this annotation

Returns:Collection<AnnotatedElement>

collection of elements annotated with this annotation

getDefaultValueback to summary
public Object getDefaultValue(String key)

Returns the value to which the key is mapped

Parameters
key:String

the key whose associated value is to be returned

Returns:Object

the default value.

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

Returns an unmodifiable collection of annotation default values.

Returns:Map<String, Object>

collection of default value elements of this annotation