public AbstractInferringInjectionPointAttributes(EnhancedAnnotated<?, ?> annotatedElement, String contextId, Bean<?> bean, Set<Annotation> qualifiers, Class<?> declaringComponentClass) { this.bean = BeanHolder.of(contextId, bean); this.qualifiers = qualifiers; if (bean == null) { this.typeAttribute = new NonContextualInjectionPointTypeAttribute(declaringComponentClass); } else { this.typeAttribute = new BeanInjectionPointTypeAttribute(); } this.delegate = annotatedElement.isAnnotationPresent(Delegate.class); }
public AbstractInferringInjectionPointAttributes(EnhancedAnnotated<?, ?> annotatedElement, String contextId, Bean<?> bean, Set<Annotation> qualifiers, Class<?> declaringComponentClass) { this.bean = BeanHolder.of(contextId, bean); this.qualifiers = qualifiers; if (bean == null) { this.typeAttribute = new NonContextualInjectionPointTypeAttribute(declaringComponentClass); } else { this.typeAttribute = new BeanInjectionPointTypeAttribute(); } this.delegate = annotatedElement.isAnnotationPresent(Delegate.class); }
public AbstractInferringInjectionPointAttributes(EnhancedAnnotated<?, ?> annotatedElement, String contextId, Bean<?> bean, Set<Annotation> qualifiers, Class<?> declaringComponentClass) { this.bean = BeanHolder.of(contextId, bean); this.qualifiers = qualifiers; if (bean == null) { this.typeAttribute = new NonContextualInjectionPointTypeAttribute(declaringComponentClass); } else { this.typeAttribute = new BeanInjectionPointTypeAttribute(); } this.delegate = annotatedElement.isAnnotationPresent(Delegate.class); }
public AbstractInferringInjectionPointAttributes(EnhancedAnnotated<?, ?> annotatedElement, String contextId, Bean<?> bean, Set<Annotation> qualifiers, Class<?> declaringComponentClass) { this.bean = BeanHolder.of(contextId, bean); this.qualifiers = qualifiers; if (bean == null) { this.typeAttribute = new NonContextualInjectionPointTypeAttribute(declaringComponentClass); } else { this.typeAttribute = new BeanInjectionPointTypeAttribute(); } this.delegate = annotatedElement.isAnnotationPresent(Delegate.class); }
public AbstractInferringInjectionPointAttributes(EnhancedAnnotated<?, ?> annotatedElement, String contextId, Bean<?> bean, Set<Annotation> qualifiers, Class<?> declaringComponentClass) { this.bean = BeanHolder.of(contextId, bean); this.qualifiers = qualifiers; if (bean == null) { this.typeAttribute = new NonContextualInjectionPointTypeAttribute(declaringComponentClass); } else { this.typeAttribute = new BeanInjectionPointTypeAttribute(); } this.delegate = annotatedElement.isAnnotationPresent(Delegate.class); }
public AbstractInferringInjectionPointAttributes(EnhancedAnnotated<?, ?> annotatedElement, String contextId, Bean<?> bean, Set<Annotation> qualifiers, Class<?> declaringComponentClass) { this.bean = BeanHolder.of(contextId, bean); this.qualifiers = qualifiers; if (bean == null) { this.typeAttribute = new NonContextualInjectionPointTypeAttribute(declaringComponentClass); } else { this.typeAttribute = new BeanInjectionPointTypeAttribute(); } this.delegate = annotatedElement.isAnnotationPresent(Delegate.class); }