
Update `OnBeanCondition` to consider the annotations attribute as well as the types and names when determining if the bean type can be deduced. Fixes gh-42484
Update `OnBeanCondition` to consider the annotations attribute as well as the types and names when determining if the bean type can be deduced. Fixes gh-42484