This is aligned with AutowiredAnnotationBeanPostProcessor now.
Closes gh-31967
(cherry picked from commit 9912a52bb8)
This is aligned with AutowiredAnnotationBeanPostProcessor now.
Closes gh-31967
(cherry picked from commit 9912a52bb8)