Uses of Interface
org.springframework.aot.generate.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
Modifier and TypeClassDescriptionclass
DefaultMethodReference
implementation based on aMethodSpec
.Modifier and TypeMethodDescriptionGeneratedMethod.toMethodReference()
Return aMethodReference
to this generated method. -
Uses of MethodReference in org.springframework.beans.factory.aot
Modifier 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.Modifier 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.