Package org.jboss.weld.resources
Interface ReflectionCache
- All Superinterfaces:
org.jboss.weld.bootstrap.api.Service
- All Known Implementing Classes:
DefaultReflectionCache,HotspotReflectionCache
public interface ReflectionCache
extends org.jboss.weld.bootstrap.api.Service
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceReflectionCache.AnnotationClass<T extends Annotation>Represents cached metadata about an annotation class. -
Method Summary
Modifier and TypeMethodDescription<T extends Annotation>
ReflectionCache.AnnotationClass<T>getAnnotationClass(Class<T> clazz) getAnnotations(AnnotatedElement element) getBackedAnnotatedTypeAnnotationSet(Class<?> javaClass) Returns the set of annotations for aBackedAnnotatedType.getDeclaredAnnotations(AnnotatedElement element) Methods inherited from interface org.jboss.weld.bootstrap.api.Service
cleanup
-
Method Details
-
getAnnotations
-
getDeclaredAnnotations
-
getBackedAnnotatedTypeAnnotationSet
Returns the set of annotations for aBackedAnnotatedType. This are all annotations declared directly on theBackedAnnotatedType.getJavaClass()and allInheritedannotations. In addition, scope annotation inheritance rules (as defined in section 4.1) are applied.- Parameters:
javaClass-- Returns:
- the set of type-level annotations of a given type
-
getAnnotationClass
-