Uses of Class
org.springframework.aot.generate.ValueCodeGenerator
Packages that use ValueCodeGenerator
Package
Description
Support classes for components that contribute generated code equivalent to a
runtime behavior.
AOT support for bean factories.
-
Uses of ValueCodeGenerator in org.springframework.aot.generate
Methods in org.springframework.aot.generate that return ValueCodeGeneratorModifier and TypeMethodDescriptionValueCodeGenerator.add(List<ValueCodeGenerator.Delegate> additionalDelegates) ValueCodeGenerator.scoped(GeneratedMethods generatedMethods) Return aValueCodeGeneratorthat is scoped for the specifiedGeneratedMethods.static ValueCodeGeneratorValueCodeGenerator.with(List<ValueCodeGenerator.Delegate> delegates) Create an instance with the specifiedValueCodeGenerator.Delegateimplementations.static ValueCodeGeneratorValueCodeGenerator.with(ValueCodeGenerator.Delegate... delegates) Create an instance with the specifiedValueCodeGenerator.Delegateimplementations.static ValueCodeGeneratorValueCodeGenerator.withDefaults()Return an instance that provides support for common value types.Methods in org.springframework.aot.generate with parameters of type ValueCodeGeneratorModifier and TypeMethodDescription@Nullable org.springframework.javapoet.CodeBlockValueCodeGenerator.Delegate.generateCode(ValueCodeGenerator valueCodeGenerator, Object value) Generate the code for the specified non-nullvalue.@Nullable org.springframework.javapoet.CodeBlockValueCodeGeneratorDelegates.CollectionDelegate.generateCode(ValueCodeGenerator valueCodeGenerator, Object value) @Nullable org.springframework.javapoet.CodeBlockValueCodeGeneratorDelegates.MapDelegate.generateCode(ValueCodeGenerator valueCodeGenerator, Object value) protected org.springframework.javapoet.CodeBlockValueCodeGeneratorDelegates.CollectionDelegate.generateCollectionCode(ValueCodeGenerator valueCodeGenerator, T collection) protected final org.springframework.javapoet.CodeBlockValueCodeGeneratorDelegates.CollectionDelegate.generateCollectionOf(ValueCodeGenerator valueCodeGenerator, Collection<?> collection, Class<?> collectionType) protected @Nullable org.springframework.javapoet.CodeBlockValueCodeGeneratorDelegates.MapDelegate.generateMapCode(ValueCodeGenerator valueCodeGenerator, Map<?, ?> map) Generate the code for a non-emptyMap. -
Uses of ValueCodeGenerator in org.springframework.beans.factory.aot
Methods in org.springframework.beans.factory.aot that return ValueCodeGeneratorModifier and TypeMethodDescriptionstatic ValueCodeGeneratorBeanDefinitionPropertyValueCodeGeneratorDelegates.createValueCodeGenerator(GeneratedMethods generatedMethods, List<ValueCodeGenerator.Delegate> customDelegates)