docs: @SuppressWarnings("WeakerAccess")
      @Internal
      protected final Collection getBeansOfTypeForConstructorArgument(BeanResolutionContext resolutionContext, BeanContext context, @SuppressWarnings("unused") ConstructorInjectionPoint<T> constructorInjectionPoint, Argument argument) {
          return resolveBeanWithGenericsFromConstructorArgument(resolutionContext, argument, (beanType, qualifier) -> {
                      boolean hasNoGenerics = !argument.getType().isArray() && argument.getTypeVariables().isEmpty();
                      if (hasNoGenerics) {
                          return ((DefaultBeanContext) context).getBean(resolutionContext, beanType, qualifier);
                      } else {
                          return ((DefaultBeanContext) context).getBeansOfType(resolutionContext, beanType, qualifier);
                      }
                  }
          );
      }