Uses of Interface
org.springframework.aot.generate.MethodReference
Packages that use MethodReference
Package
Description
Support classes for components that contribute generated code equivalent to a
runtime behavior.
AOT support for bean factories.
-
Uses of MethodReference in org.springframework.aot.generate
Classes in org.springframework.aot.generate that implement MethodReferenceModifier and TypeClassDescriptionclass
DefaultMethodReference
implementation based on aMethodSpec
.Methods in org.springframework.aot.generate that return MethodReferenceModifier and TypeMethodDescriptionGeneratedMethod.toMethodReference()
Return aMethodReference
to this generated method. -
Uses of MethodReference in org.springframework.beans.factory.aot
Methods in org.springframework.beans.factory.aot with parameters of type MethodReferenceModifier and TypeMethodDescriptionvoid
BeanFactoryInitializationCode.addInitializer
(MethodReference methodReference) Add an initializer method call.void
BeanRegistrationCode.addInstancePostProcessor
(MethodReference methodReference) Add an instance post processor method call to the registration code.Method parameters in org.springframework.beans.factory.aot with type arguments of type MethodReferenceModifier and TypeMethodDescriptionorg.springframework.javapoet.CodeBlock
BeanRegistrationCodeFragments.generateSetBeanInstanceSupplierCode
(GenerationContext generationContext, BeanRegistrationCode beanRegistrationCode, org.springframework.javapoet.CodeBlock instanceSupplierCode, List<MethodReference> postProcessors) Generate the code that sets the instance supplier on the bean definition.org.springframework.javapoet.CodeBlock
BeanRegistrationCodeFragmentsDecorator.generateSetBeanInstanceSupplierCode
(GenerationContext generationContext, BeanRegistrationCode beanRegistrationCode, org.springframework.javapoet.CodeBlock instanceSupplierCode, List<MethodReference> postProcessors)