Class BackedAnnotatedType<X>
java.lang.Object
org.jboss.weld.annotated.slim.BaseAnnotated
org.jboss.weld.annotated.slim.backed.BackedAnnotated
org.jboss.weld.annotated.slim.backed.BackedAnnotatedType<X>
- All Implemented Interfaces:
jakarta.enterprise.inject.spi.Annotated,jakarta.enterprise.inject.spi.AnnotatedType<X>,Serializable,Identified<AnnotatedTypeIdentifier>,SlimAnnotatedType<X>
public class BackedAnnotatedType<X>
extends BackedAnnotated
implements SlimAnnotatedType<X>, Serializable
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.jboss.weld.annotated.slim.SlimAnnotatedType
SlimAnnotatedType.SerializationProxy<X> -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()Clear up cached content to save memory.booleanprotected AnnotatedElement<T extends Annotation>
TgetAnnotation(Class<T> annotationType) inthashCode()protected LazyValueHolder<Set<Type>>initTypeClosure(Type baseType, SharedObjectCache cache) booleanisAnnotationPresent(Class<? extends Annotation> annotationType) static <X> BackedAnnotatedType<X>of(Class<X> javaClass, Type baseType, SharedObjectCache sharedObjectCache, ReflectionCache reflectionCache, String contextId, String bdaId) static <X> BackedAnnotatedType<X>of(Class<X> javaClass, Type baseType, SharedObjectCache sharedObjectCache, ReflectionCache reflectionCache, String contextId, String bdaId, String suffix) static <X> BackedAnnotatedType<X>of(Class<X> javaClass, SharedObjectCache sharedObjectCache, ReflectionCache reflectionCache, String contextId, String bdaId) toString()Methods inherited from class org.jboss.weld.annotated.slim.backed.BackedAnnotated
getTypeClosureMethods inherited from class org.jboss.weld.annotated.slim.BaseAnnotated
getBaseTypeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface jakarta.enterprise.inject.spi.Annotated
getBaseType, getTypeClosureMethods inherited from interface jakarta.enterprise.inject.spi.AnnotatedType
getAnnotations
-
Method Details
-
getAnnotatedElement
- Specified by:
getAnnotatedElementin classBackedAnnotated
-
getJavaClass
- Specified by:
getJavaClassin interfacejakarta.enterprise.inject.spi.AnnotatedType<X>
-
getConstructors
- Specified by:
getConstructorsin interfacejakarta.enterprise.inject.spi.AnnotatedType<X>
-
getMethods
- Specified by:
getMethodsin interfacejakarta.enterprise.inject.spi.AnnotatedType<X>
-
getFields
- Specified by:
getFieldsin interfacejakarta.enterprise.inject.spi.AnnotatedType<X>
-
getAnnotation
- Specified by:
getAnnotationin interfacejakarta.enterprise.inject.spi.Annotated
-
isAnnotationPresent
- Specified by:
isAnnotationPresentin interfacejakarta.enterprise.inject.spi.Annotated
-
getAnnotations
- Specified by:
getAnnotationsin interfacejakarta.enterprise.inject.spi.Annotated- Overrides:
getAnnotationsin classBackedAnnotated
-
hashCode
public int hashCode() -
equals
-
toString
-
clear
public void clear()Description copied from interface:SlimAnnotatedTypeClear up cached content to save memory. Called after bootstrap is complete.- Specified by:
clearin interfaceSlimAnnotatedType<X>
-
getReflectionCache
- Specified by:
getReflectionCachein classBackedAnnotated
-
getIdentifier
- Specified by:
getIdentifierin interfaceIdentified<X>