org.springframework.beans.factory.support.DefaultSingletonBeanRegistry#registerDependentBean
Comment From: rstoyanchev
This is true, but it's not the only example in Spring and beyond. It's something to be avoided, but sometimes there isn't a good alternative.