|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.webbeans.introspector.AnnotationStore
public class AnnotationStore
| Nested Class Summary | |
|---|---|
static class |
AnnotationStore.AnnotationMap
Represents a mapping from a annotation type to an annotation implementation |
| Constructor Summary | |
|---|---|
protected |
AnnotationStore(AnnotationStore.AnnotationMap annotationMap,
AnnotationStore.AnnotationMap declaredAnnotationMap)
Constructor Also builds the meta-annotation map. |
| Method Summary | ||
|---|---|---|
protected static AnnotationStore.AnnotationMap |
buildAnnotationMap(java.lang.annotation.Annotation[] annotations)
Builds the annotation map (annotation type -> annotation) |
|
protected static AnnotationStore.AnnotationMap |
buildAnnotationMap(java.lang.Iterable<java.lang.annotation.Annotation> annotations)
Builds the annotation map (annotation type -> annotation) |
|
|
getAnnotation(java.lang.Class<? extends A> annotationType)
|
|
java.util.Set<java.lang.annotation.Annotation> |
getAnnotations()
|
|
java.util.Set<java.lang.annotation.Annotation> |
getBindingTypes()
Deprecated. |
|
java.lang.annotation.Annotation[] |
getBindingTypesAsArray()
Deprecated. |
|
java.util.Set<java.lang.annotation.Annotation> |
getDeclaredMetaAnnotations(java.lang.Class<? extends java.lang.annotation.Annotation> metaAnnotationType)
|
|
java.util.Set<java.lang.annotation.Annotation> |
getMetaAnnotations(java.lang.Class<? extends java.lang.annotation.Annotation> metaAnnotationType)
|
|
java.lang.annotation.Annotation[] |
getMetaAnnotationsAsArray(java.lang.Class<? extends java.lang.annotation.Annotation> metaAnnotationType)
|
|
boolean |
isAnnotationPresent(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
|
|
boolean |
isDeclaredAnnotationPresent(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
|
|
static AnnotationStore |
of(java.lang.reflect.AnnotatedElement annotatedElement)
Build an AnnotatedItemHelper from a class |
|
static AnnotationStore |
of(java.lang.annotation.Annotation[] annotations,
java.lang.annotation.Annotation[] declaredAnnotations)
|
|
static AnnotationStore |
wrap(AnnotationStore annotationStore,
java.util.Set<java.lang.annotation.Annotation> annotations,
java.util.Set<java.lang.annotation.Annotation> declaredAnnotations)
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected AnnotationStore(AnnotationStore.AnnotationMap annotationMap,
AnnotationStore.AnnotationMap declaredAnnotationMap)
annotationMap - A map of annotation to register| Method Detail |
|---|
protected static AnnotationStore.AnnotationMap buildAnnotationMap(java.lang.annotation.Annotation[] annotations)
annotations - The array of annotations to map
protected static AnnotationStore.AnnotationMap buildAnnotationMap(java.lang.Iterable<java.lang.annotation.Annotation> annotations)
annotations - The array of annotations to map
public static AnnotationStore of(java.lang.reflect.AnnotatedElement annotatedElement)
annotatedElement -
public static AnnotationStore of(java.lang.annotation.Annotation[] annotations,
java.lang.annotation.Annotation[] declaredAnnotations)
public static AnnotationStore wrap(AnnotationStore annotationStore,
java.util.Set<java.lang.annotation.Annotation> annotations,
java.util.Set<java.lang.annotation.Annotation> declaredAnnotations)
public java.util.Set<java.lang.annotation.Annotation> getAnnotations()
public java.util.Set<java.lang.annotation.Annotation> getMetaAnnotations(java.lang.Class<? extends java.lang.annotation.Annotation> metaAnnotationType)
public java.util.Set<java.lang.annotation.Annotation> getDeclaredMetaAnnotations(java.lang.Class<? extends java.lang.annotation.Annotation> metaAnnotationType)
public java.lang.annotation.Annotation[] getMetaAnnotationsAsArray(java.lang.Class<? extends java.lang.annotation.Annotation> metaAnnotationType)
@Deprecated public java.util.Set<java.lang.annotation.Annotation> getBindingTypes()
@Deprecated public java.lang.annotation.Annotation[] getBindingTypesAsArray()
public <A extends java.lang.annotation.Annotation> A getAnnotation(java.lang.Class<? extends A> annotationType)
public boolean isAnnotationPresent(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
public boolean isDeclaredAnnotationPresent(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||