@ Internal @ SuppressWarnings ( { "WeakerAccess" , "unused" } ) @ UsedByGeneratedCode protected Object injectAnother ( BeanResolutionContext resolutionContext , BeanContext context , Object bean ) { DefaultBeanContext defaultContext = ( DefaultBeanContext ) context ; if ( bean == null ) { throw new BeanInstantiationException ( resolutionContext , "Bean factory returned null" ) ; } return defaultContext . inject ( resolutionContext , this , bean ) ; }
Inject another bean for example one created via factory .