X
- the typepublic interface IdentifiedAnnotatedType<X> extends AnnotatedType<X>
IdentifiedAnnotatedType
allows multiple annotated types, based on the same underlying
type, to be defined. If an AnnotatedType
is an instance of
IdentifiedAnnotatedType
then getID()
is used to identify
the annotated type to the container, otherwise the fully qualified class name of
AnnotatedType.getJavaClass()
is used to identify the type. AnnotatedType
s
discovered by the container use the fully qualified class name of
AnnotatedType.getJavaClass()
to identify the type.Modifier and Type | Method and Description |
---|---|
String |
getID()
The
AnnotatedType identifier |
getConstructors, getFields, getJavaClass, getMethods
getAnnotation, getAnnotations, getBaseType, getTypeClosure, isAnnotationPresent
String getID()
AnnotatedType
identifierCopyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.