public class DefaultReflectionCache extends org.jboss.weld.bootstrap.api.helpers.AbstractBootstrapService implements ReflectionCache
ReflectionCache.AnnotationClass<T extends Annotation>| Constructor and Description |
|---|
DefaultReflectionCache(TypeStore store) |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanupAfterBoot() |
<T extends Annotation> |
getAnnotationClass(Class<T> clazz) |
Set<Annotation> |
getAnnotations(AnnotatedElement element) |
Set<Annotation> |
getBackedAnnotatedTypeAnnotationSet(Class<?> javaClass)
Returns the set of annotations for a
BackedAnnotatedType. |
Set<Annotation> |
getDeclaredAnnotations(AnnotatedElement element) |
protected Annotation[] |
internalGetAnnotations(AnnotatedElement element) |
protected Annotation[] |
internalGetDeclaredAnnotations(AnnotatedElement element) |
cleanupclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcleanuppublic DefaultReflectionCache(TypeStore store)
protected Annotation[] internalGetAnnotations(AnnotatedElement element)
protected Annotation[] internalGetDeclaredAnnotations(AnnotatedElement element)
public void cleanupAfterBoot()
cleanupAfterBoot in interface org.jboss.weld.bootstrap.api.BootstrapServicepublic Set<Annotation> getAnnotations(AnnotatedElement element)
getAnnotations in interface ReflectionCachepublic Set<Annotation> getDeclaredAnnotations(AnnotatedElement element)
getDeclaredAnnotations in interface ReflectionCachepublic Set<Annotation> getBackedAnnotatedTypeAnnotationSet(Class<?> javaClass)
ReflectionCacheBackedAnnotatedType. This are all annotations declared directly on the
BackedAnnotatedType.getJavaClass() and all Inherited annotations. In addition, scope annotation
inheritance rules (as defined in section 4.1) are applied.getBackedAnnotatedTypeAnnotationSet in interface ReflectionCachepublic <T extends Annotation> ReflectionCache.AnnotationClass<T> getAnnotationClass(Class<T> clazz)
getAnnotationClass in interface ReflectionCacheCopyright © 2017. All rights reserved.