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-providedAnnotatedType. 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-providedAnnotatedTypeimplementation is.- Author:
- Pete Muir, Jozef Hartinger
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.jboss.weld.annotated.slim.SlimAnnotatedType
SlimAnnotatedType.SerializationProxy<X>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <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.booleanequals(Object obj)Set<jakarta.enterprise.inject.spi.AnnotatedConstructor<X>>getConstructors()Set<jakarta.enterprise.inject.spi.AnnotatedField<? super X>>getFields()AnnotatedTypeIdentifiergetIdentifier()Class<X>getJavaClass()Set<jakarta.enterprise.inject.spi.AnnotatedMethod<? super X>>getMethods()inthashCode()static <X> UnbackedAnnotatedType<X>modifiedAnnotatedType(SlimAnnotatedType<X> originalType, jakarta.enterprise.inject.spi.AnnotatedType<X> source, SharedObjectCache cache)StringtoString()-
Methods inherited from class org.jboss.weld.annotated.slim.unbacked.UnbackedAnnotated
getAnnotation, getAnnotations, getTypeClosure, isAnnotationPresent
-
Methods inherited from class org.jboss.weld.annotated.slim.BaseAnnotated
getBaseType
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
additionalAnnotatedType
public static <X> UnbackedAnnotatedType<X> additionalAnnotatedType(String contextId, jakarta.enterprise.inject.spi.AnnotatedType<X> source, String bdaId, String suffix, SharedObjectCache cache)
-
modifiedAnnotatedType
public static <X> UnbackedAnnotatedType<X> modifiedAnnotatedType(SlimAnnotatedType<X> originalType, jakarta.enterprise.inject.spi.AnnotatedType<X> source, SharedObjectCache cache)
-
getJavaClass
public Class<X> getJavaClass()
- Specified by:
getJavaClassin interfacejakarta.enterprise.inject.spi.AnnotatedType<X>
-
getConstructors
public Set<jakarta.enterprise.inject.spi.AnnotatedConstructor<X>> getConstructors()
- Specified by:
getConstructorsin interfacejakarta.enterprise.inject.spi.AnnotatedType<X>
-
getMethods
public Set<jakarta.enterprise.inject.spi.AnnotatedMethod<? super X>> getMethods()
- Specified by:
getMethodsin interfacejakarta.enterprise.inject.spi.AnnotatedType<X>
-
getFields
public Set<jakarta.enterprise.inject.spi.AnnotatedField<? super X>> getFields()
- Specified by:
getFieldsin interfacejakarta.enterprise.inject.spi.AnnotatedType<X>
-
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>
-
getIdentifier
public AnnotatedTypeIdentifier getIdentifier()
- Specified by:
getIdentifierin interfaceIdentified<X>
-
-