public class DefaultReflectionCache extends AbstractBootstrapService implements ReflectionCache
Constructor and Description |
---|
DefaultReflectionCache(TypeStore store) |
cleanup
public DefaultReflectionCache(TypeStore store)
protected Annotation[] internalGetAnnotations(AnnotatedElement element)
protected Annotation[] internalGetDeclaredAnnotations(AnnotatedElement element)
public Annotation[] getAnnotations(AnnotatedElement element)
getAnnotations
in interface ReflectionCache
public Annotation[] getDeclaredAnnotations(AnnotatedElement element)
getDeclaredAnnotations
in interface ReflectionCache
public Annotation[] getParameterAnnotations(Constructor<?> constructor, int parameterPosition)
getParameterAnnotations
in interface ReflectionCache
public Annotation[] getParameterAnnotations(Method method, int parameterPosition)
getParameterAnnotations
in interface ReflectionCache
public void cleanupAfterBoot()
BootstrapService
cleanupAfterBoot
in interface BootstrapService
public Set<Annotation> getAnnotationSet(AnnotatedElement element)
getAnnotationSet
in interface ReflectionCache
public Set<Annotation> getDeclaredAnnotationSet(AnnotatedElement element)
getDeclaredAnnotationSet
in interface ReflectionCache
public Set<Annotation> getParameterAnnotationSet(Constructor<?> constructor, int parameterPosition)
getParameterAnnotationSet
in interface ReflectionCache
public Set<Annotation> getParameterAnnotationSet(Method method, int parameterPosition)
getParameterAnnotationSet
in interface ReflectionCache
public Set<Annotation> getBackedAnnotatedTypeAnnotationSet(Class<?> javaClass)
ReflectionCache
BackedAnnotatedType
. 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 ReflectionCache
Copyright © 2013 Seam Framework. All Rights Reserved.