# Uses of Class
org.springframework.aot.generate.ValueCodeGenerator

Packages that use ValueCodeGenerator
Package
Description
org.springframework.aot.generate
Support classes for components that contribute generated code equivalent to a runtime behavior.

## Uses of ValueCodeGenerator in org.springframework.aot.generate

Methods in org.springframework.aot.generate that return ValueCodeGenerator
Modifier and Type
Method
Description
`ValueCodeGenerator`
ValueCodeGenerator.`add(List<ValueCodeGenerator.Delegate> additionalDelegates)`
`ValueCodeGenerator`
ValueCodeGenerator.`scoped(GeneratedMethods generatedMethods)`
Return a `ValueCodeGenerator` that is scoped for the specified `GeneratedMethods`.
`static ValueCodeGenerator`
ValueCodeGenerator.`with(List<ValueCodeGenerator.Delegate> delegates)`
Create an instance with the specified `ValueCodeGenerator.Delegate` implementations.
`static ValueCodeGenerator`
ValueCodeGenerator.`with(ValueCodeGenerator.Delegate... delegates)`
Create an instance with the specified `ValueCodeGenerator.Delegate` implementations.
`static ValueCodeGenerator`
ValueCodeGenerator.`withDefaults()`
Return an instance that provides support for common value types.
Methods in org.springframework.aot.generate with parameters of type ValueCodeGenerator
Modifier and Type
Method
Description
`org.springframework.javapoet.CodeBlock`
ValueCodeGenerator.Delegate.`generateCode(ValueCodeGenerator valueCodeGenerator, Object value)`
Generate the code for the specified non-null `value`.
`org.springframework.javapoet.CodeBlock`
ValueCodeGeneratorDelegates.CollectionDelegate.`generateCode(ValueCodeGenerator valueCodeGenerator, Object value)`
`org.springframework.javapoet.CodeBlock`
ValueCodeGeneratorDelegates.MapDelegate.`generateCode(ValueCodeGenerator valueCodeGenerator, Object value)`
`protected org.springframework.javapoet.CodeBlock`
ValueCodeGeneratorDelegates.CollectionDelegate.`generateCollectionCode(ValueCodeGenerator valueCodeGenerator, T collection)`
`protected final org.springframework.javapoet.CodeBlock`
ValueCodeGeneratorDelegates.CollectionDelegate.`generateCollectionOf(ValueCodeGenerator valueCodeGenerator, Collection<?> collection, Class<?> collectionType)`
`protected org.springframework.javapoet.CodeBlock`
ValueCodeGeneratorDelegates.MapDelegate.`generateMapCode(ValueCodeGenerator valueCodeGenerator, Map<?,?> map)`
Generate the code for a non-empty `Map`.