Package org.jboss.weld.annotated.slim
Class SlimAnnotatedTypeContext<T>
- java.lang.Object
-
- org.jboss.weld.annotated.slim.SlimAnnotatedTypeContext<T>
-
- Type Parameters:
T
- the type
public class SlimAnnotatedTypeContext<T> extends Object
HoldsSlimAnnotatedType
and additional information attached to the type. This is a boot-time construct and should be released after bootstrap.- Author:
- Jozef Hartinger
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
SlimAnnotatedType<T>
getAnnotatedType()
org.jboss.weld.resources.spi.ClassFileInfo
getClassInfo()
jakarta.enterprise.inject.spi.Extension
getExtension()
Set<ContainerLifecycleEventObserverMethod<?>>
getResolvedProcessAnnotatedTypeObservers()
int
hashCode()
static <T> SlimAnnotatedTypeContext<T>
of(SlimAnnotatedType<T> type)
static <T> SlimAnnotatedTypeContext<T>
of(SlimAnnotatedType<T> type, jakarta.enterprise.inject.spi.Extension extension)
static <T> SlimAnnotatedTypeContext<T>
of(SlimAnnotatedType<T> type, org.jboss.weld.resources.spi.ClassFileInfo classInfo, Set<ContainerLifecycleEventObserverMethod<?>> resolvedProcessAnnotatedTypeObservers)
String
toString()
-
-
-
Method Detail
-
of
public static <T> SlimAnnotatedTypeContext<T> of(SlimAnnotatedType<T> type, org.jboss.weld.resources.spi.ClassFileInfo classInfo, Set<ContainerLifecycleEventObserverMethod<?>> resolvedProcessAnnotatedTypeObservers)
-
of
public static <T> SlimAnnotatedTypeContext<T> of(SlimAnnotatedType<T> type)
-
of
public static <T> SlimAnnotatedTypeContext<T> of(SlimAnnotatedType<T> type, jakarta.enterprise.inject.spi.Extension extension)
-
getAnnotatedType
public SlimAnnotatedType<T> getAnnotatedType()
- Returns:
- the annotated type
-
getClassInfo
public org.jboss.weld.resources.spi.ClassFileInfo getClassInfo()
- Returns:
ClassFileInfo
describing the underlying class. This attribute is only available if the integrator providedClassFileServices
and the underlying type is comes from scanning (not registered by an extension).
-
getResolvedProcessAnnotatedTypeObservers
public Set<ContainerLifecycleEventObserverMethod<?>> getResolvedProcessAnnotatedTypeObservers()
- Returns:
- the set of ProcessAnnotatedType observer method to which the ProcessAnnotatedType event for this type is assignable. This
attribute is only available if the integrator provided
ClassFileServices
and the underlying type is comes from scanning (not registered by an extension).
-
getExtension
public jakarta.enterprise.inject.spi.Extension getExtension()
- Returns:
- the extension that registered this annotated type or null if the type comes from scanning
-
-