/**
* Returns scoped proxy bean if injection scopes are mixed on some injection point.
* May return <code>null</code> if mixing scopes is not detected.
*/
public Object lookupValue(PetiteContainer petiteContainer, BeanDefinition targetBeanDefinition, BeanDefinition refBeanDefinition) {
Scope targetScope = targetBeanDefinition.scope;
Scope refBeanScope = refBeanDefinition.scope;
boolean detectMixedScopes = petiteContainer.getConfig().isDetectMixedScopes();
boolean wireScopedProxy = petiteContainer.getConfig().isWireScopedProxy();
// when target scope is null then all beans can be injected into it