@ -56,8 +56,8 @@ import org.springframework.beans.factory.annotation.InjectionMetadata.InjectedEl
@@ -56,8 +56,8 @@ import org.springframework.beans.factory.annotation.InjectionMetadata.InjectedEl
import org.springframework.beans.factory.config.ConfigurableListableBeanFactory ;
import org.springframework.beans.factory.config.DependencyDescriptor ;
import org.springframework.beans.factory.config.SmartInstantiationAwareBeanPostProcessor ;
import org.springframework.beans.factory.generator.BeanInstanceAot PostProcessor ;
import org.springframework.beans.factory.generator.BeanInstance Contributor ;
import org.springframework.beans.factory.generator.AotContributingBean PostProcessor ;
import org.springframework.beans.factory.generator.BeanInstantiation Contributor ;
import org.springframework.beans.factory.generator.InjectionGenerator ;
import org.springframework.beans.factory.support.LookupOverride ;
import org.springframework.beans.factory.support.MergedBeanDefinitionPostProcessor ;
@ -140,7 +140,7 @@ import org.springframework.util.StringUtils;
@@ -140,7 +140,7 @@ import org.springframework.util.StringUtils;
* @see Value
* /
public class AutowiredAnnotationBeanPostProcessor implements SmartInstantiationAwareBeanPostProcessor ,
MergedBeanDefinitionPostProcessor , BeanInstanceAot PostProcessor, PriorityOrdered , BeanFactoryAware {
MergedBeanDefinitionPostProcessor , AotContributingBean PostProcessor, PriorityOrdered , BeanFactoryAware {
protected final Log logger = LogFactory . getLog ( getClass ( ) ) ;
@ -268,12 +268,12 @@ public class AutowiredAnnotationBeanPostProcessor implements SmartInstantiationA
@@ -268,12 +268,12 @@ public class AutowiredAnnotationBeanPostProcessor implements SmartInstantiationA
}
@Override
public BeanInstance Contributor buildAotContributor ( RootBeanDefinition beanDefinition , Class < ? > beanType , String beanName ) {
public BeanInstantiation Contributor buildAotContributor ( RootBeanDefinition beanDefinition , Class < ? > beanType , String beanName ) {
InjectionMetadata metadata = findInjectionMetadata ( beanName , beanType , beanDefinition ) ;
Collection < InjectedElement > injectedElements = metadata . getInjectedElements ( ) ;
return ( ! ObjectUtils . isEmpty ( injectedElements )
? new AutowiredAnnotationBeanInstance Contributor ( injectedElements )
: BeanInstance Contributor . NO_OP ) ;
? new AutowiredAnnotationBeanInstantiation Contributor ( injectedElements )
: BeanInstantiation Contributor . NO_OP ) ;
}
private InjectionMetadata findInjectionMetadata ( String beanName , Class < ? > beanType , RootBeanDefinition beanDefinition ) {
@ -821,13 +821,13 @@ public class AutowiredAnnotationBeanPostProcessor implements SmartInstantiationA
@@ -821,13 +821,13 @@ public class AutowiredAnnotationBeanPostProcessor implements SmartInstantiationA
}
}
private static final class AutowiredAnnotationBeanInstanceContributor implements BeanInstance Contributor {
private static final class AutowiredAnnotationBeanInstantiationContributor implements BeanInstantiation Contributor {
private final Collection < InjectedElement > injectedElements ;
private final InjectionGenerator generator ;
AutowiredAnnotationBeanInstance Contributor ( Collection < InjectedElement > injectedElements ) {
AutowiredAnnotationBeanInstantiation Contributor ( Collection < InjectedElement > injectedElements ) {
this . injectedElements = injectedElements ;
this . generator = new InjectionGenerator ( ) ;
}