Class SlimAnnotatedTypeContext<T>

  • Type Parameters:
    T - the type

    public class SlimAnnotatedTypeContext<T>
    extends Object
    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 Detail

      • 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 provided ClassFileServices 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
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object