Package org.jboss.weld.annotated.slim
Class SlimAnnotatedTypeContext<T>
java.lang.Object
org.jboss.weld.annotated.slim.SlimAnnotatedTypeContext<T>
- Type Parameters:
T- the type
Holds
SlimAnnotatedType and additional information attached to the type.
This is a boot-time construct and should be released after bootstrap.- Author:
- Jozef Hartinger
-
Method Summary
Modifier and TypeMethodDescriptionbooleanorg.jboss.weld.resources.spi.ClassFileInfojakarta.enterprise.inject.spi.ExtensioninthashCode()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) toString()
-
Method Details
-
of
public static <T> SlimAnnotatedTypeContext<T> of(SlimAnnotatedType<T> type, org.jboss.weld.resources.spi.ClassFileInfo classInfo, Set<ContainerLifecycleEventObserverMethod<?>> resolvedProcessAnnotatedTypeObservers) -
of
-
of
public static <T> SlimAnnotatedTypeContext<T> of(SlimAnnotatedType<T> type, jakarta.enterprise.inject.spi.Extension extension) -
getAnnotatedType
- Returns:
- the annotated type
-
getClassInfo
public org.jboss.weld.resources.spi.ClassFileInfo getClassInfo()- Returns:
ClassFileInfodescribing the underlying class. This attribute is only available if the integrator providedClassFileServicesand the underlying type is comes from scanning (not registered by an extension).
-
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
ClassFileServicesand 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
-
hashCode
public int hashCode() -
equals
-
toString
-