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-providedAnnotatedType
implementation 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)
void
clear()
Clear up cached content to save memory.boolean
equals(Object obj)
Set<jakarta.enterprise.inject.spi.AnnotatedConstructor<X>>
getConstructors()
Set<jakarta.enterprise.inject.spi.AnnotatedField<? super X>>
getFields()
AnnotatedTypeIdentifier
getIdentifier()
Class<X>
getJavaClass()
Set<jakarta.enterprise.inject.spi.AnnotatedMethod<? super X>>
getMethods()
int
hashCode()
static <X> UnbackedAnnotatedType<X>
modifiedAnnotatedType(SlimAnnotatedType<X> originalType, jakarta.enterprise.inject.spi.AnnotatedType<X> source, SharedObjectCache cache)
String
toString()
-
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:
getJavaClass
in interfacejakarta.enterprise.inject.spi.AnnotatedType<X>
-
getConstructors
public Set<jakarta.enterprise.inject.spi.AnnotatedConstructor<X>> getConstructors()
- Specified by:
getConstructors
in interfacejakarta.enterprise.inject.spi.AnnotatedType<X>
-
getMethods
public Set<jakarta.enterprise.inject.spi.AnnotatedMethod<? super X>> getMethods()
- Specified by:
getMethods
in interfacejakarta.enterprise.inject.spi.AnnotatedType<X>
-
getFields
public Set<jakarta.enterprise.inject.spi.AnnotatedField<? super X>> getFields()
- Specified by:
getFields
in interfacejakarta.enterprise.inject.spi.AnnotatedType<X>
-
clear
public void clear()
Description copied from interface:SlimAnnotatedType
Clear up cached content to save memory. Called after bootstrap is complete.- Specified by:
clear
in interfaceSlimAnnotatedType<X>
-
getIdentifier
public AnnotatedTypeIdentifier getIdentifier()
- Specified by:
getIdentifier
in interfaceIdentified<X>
-
-