Class ConstructorInjectionPoint<T>

    • Field Detail

      • hasTransientReferenceParameter

        protected final boolean hasTransientReferenceParameter
    • Method Detail

      • newInstance

        public T newInstance​(BeanManagerImpl manager,
                             jakarta.enterprise.context.spi.CreationalContext<?> ctx)
      • newInstance

        protected T newInstance​(Object[] parameterValues)
      • getParameterValues

        public Object[] getParameterValues​(BeanManagerImpl manager,
                                           jakarta.enterprise.context.spi.CreationalContext<?> ctx,
                                           jakarta.enterprise.context.spi.CreationalContext<?> transientReference)
        Helper method for getting the current parameter values from a list of annotated parameters.
        Parameters:
        parameters - The list of annotated parameter to look up
        manager - The Bean manager
        Returns:
        The object array of looked up values
      • getAnnotated

        public jakarta.enterprise.inject.spi.AnnotatedConstructor<T> getAnnotated()
        Specified by:
        getAnnotated in interface jakarta.enterprise.inject.spi.InjectionPoint
      • getComponentConstructor

        public jakarta.enterprise.inject.spi.AnnotatedConstructor<T> getComponentConstructor()
      • hashCode

        public int hashCode()
      • equals

        public boolean equals​(Object obj)
      • getType

        public Type getType()
        Specified by:
        getType in interface jakarta.enterprise.inject.spi.InjectionPoint
      • getQualifiers

        public Set<Annotation> getQualifiers()
        Specified by:
        getQualifiers in interface jakarta.enterprise.inject.spi.InjectionPoint
      • getBean

        public jakarta.enterprise.inject.spi.Bean<?> getBean()
        Specified by:
        getBean in interface jakarta.enterprise.inject.spi.InjectionPoint
      • isDelegate

        public boolean isDelegate()
        Specified by:
        isDelegate in interface jakarta.enterprise.inject.spi.InjectionPoint
      • isTransient

        public boolean isTransient()
        Specified by:
        isTransient in interface jakarta.enterprise.inject.spi.InjectionPoint
      • getMember

        public Member getMember()
        Specified by:
        getMember in interface jakarta.enterprise.inject.spi.InjectionPoint
      • getInjectionPoints

        public Set<jakarta.enterprise.inject.spi.InjectionPoint> getInjectionPoints()
        Returns a set of InjectionPoint instances of this constructor/method. This set never contains a SpecialParameterInjectionPoint and is therefore suitable for use outside of Weld. The returned set is immutable.