Class UnbackedAnnotatedType<X>
java.lang.Object
org.jboss.weld.annotated.slim.BaseAnnotated
org.jboss.weld.annotated.slim.unbacked.UnbackedAnnotated
org.jboss.weld.annotated.slim.unbacked.UnbackedAnnotatedType<X>
- Type Parameters:
X- the type
- All Implemented Interfaces:
jakarta.enterprise.inject.spi.Annotated,jakarta.enterprise.inject.spi.AnnotatedType<X>,Serializable,Identified<AnnotatedTypeIdentifier>,SlimAnnotatedType<X>
public class UnbackedAnnotatedType<X>
extends UnbackedAnnotated
implements SlimAnnotatedType<X>, Serializable
Wrapper for extension-provided
AnnotatedType. This may seem unnecessary, however it does mean we are providing a
consistent view for debugging, error reporting etc. This implementation is also serializable no matter if the original
extension-provided AnnotatedType implementation is.- Author:
- Pete Muir, Jozef Hartinger
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.jboss.weld.annotated.slim.SlimAnnotatedType
SlimAnnotatedType.SerializationProxy<X> -
Method Summary
Modifier and TypeMethodDescriptionstatic <X> UnbackedAnnotatedType<X>additionalAnnotatedType(String contextId, jakarta.enterprise.inject.spi.AnnotatedType<X> source, String bdaId, String suffix, SharedObjectCache cache) voidclear()Clear up cached content to save memory.booleaninthashCode()static <X> UnbackedAnnotatedType<X>modifiedAnnotatedType(SlimAnnotatedType<X> originalType, jakarta.enterprise.inject.spi.AnnotatedType<X> source, SharedObjectCache cache) toString()Methods inherited from class org.jboss.weld.annotated.slim.unbacked.UnbackedAnnotated
getAnnotation, getAnnotations, getTypeClosure, isAnnotationPresentMethods 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
getAnnotation, getAnnotations, getBaseType, getTypeClosure, isAnnotationPresentMethods inherited from interface jakarta.enterprise.inject.spi.AnnotatedType
getAnnotations
-
Method Details
-
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>
-
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>
-
hashCode
public int hashCode() -
equals
-
getIdentifier
- Specified by:
getIdentifierin interfaceIdentified<X>