Package org.springframework.aot.generate
Class ValueCodeGeneratorDelegates
java.lang.Object
org.springframework.aot.generate.ValueCodeGeneratorDelegates
Code generator
ValueCodeGenerator.Delegate
for well known value types.- Since:
- 6.1.2
- Author:
- Stephane Nicoll
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
AbstractValueCodeGenerator.Delegate
forCollection
types.static class
ValueCodeGenerator.Delegate
forMap
types. -
Field Summary
Modifier and TypeFieldDescriptionstatic final List<ValueCodeGenerator.Delegate>
Return theValueCodeGenerator.Delegate
implementations for common value types. -
Constructor Summary
-
Method Summary
-
Field Details
-
INSTANCES
Return theValueCodeGenerator.Delegate
implementations for common value types. These are:- Primitive types,
- String,
- Charset,
- Enum,
- Class,
ResolvableType
,- Array,
- List via
List.of
, - Set via
Set.of
and support ofLinkedHashSet
, - Map via
Map.of
orMap.ofEntries
.
ValueCodeGenerator
to be scoped.
-
-
Constructor Details
-
ValueCodeGeneratorDelegates
public ValueCodeGeneratorDelegates()
-