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 TypeClassDescriptionclassDefaultMethodReferenceimplementation based on aMethodSpec.Methods in org.springframework.aot.generate that return MethodReferenceModifier and TypeMethodDescriptionGeneratedMethod.toMethodReference()Return aMethodReferenceto 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 TypeMethodDescriptionvoidBeanFactoryInitializationCode.addInitializer(MethodReference methodReference) Add an initializer method call.voidBeanRegistrationCode.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.CodeBlockBeanRegistrationCodeFragments.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.CodeBlockBeanRegistrationCodeFragmentsDecorator.generateSetBeanInstanceSupplierCode(GenerationContext generationContext, BeanRegistrationCode beanRegistrationCode, org.springframework.javapoet.CodeBlock instanceSupplierCode, List<MethodReference> postProcessors)