Package org.springframework.aot.generate
@NullMarked
package org.springframework.aot.generate
Support classes for components that contribute generated code equivalent to a
runtime behavior.
-
ClassDescriptionDetermine the access control of a
Member
or type signature.Generate unique class names based on a targetClassName
and a feature name.DefaultGenerationContext
implementation.DefaultMethodReference
implementation based on aMethodSpec
.GeneratedFiles
implementation that stores generated files using aFileSystem
.Indicate that the type has been generated ahead of time.A single generated class.A managed collection of generated classes.Repository of generated files.Provide access to a particular file and offer convenient methods to retrieve, save, or override its content.The various kinds of generated files that are supported.A generated method.A managed collection of generated methods.ATypeReference
for a generated type.Central interface used for code generation.GeneratedFiles
implementation that keeps generated files in-memory.A reference to a method with convenient code generation for referencing, or invoking it.Strategy for generating code for arguments based on their type.Thrown when aValueCodeGenerator
could not generate the code for a given value.Thrown when value code generation fails.Code generator for a single value.Strategy interface that can be used to implement code generation for a particular value type.Code generatorValueCodeGenerator.Delegate
for well known value types.ValueCodeGeneratorDelegates.CollectionDelegate<T extends Collection<?>>AbstractValueCodeGenerator.Delegate
forCollection
types.ValueCodeGenerator.Delegate
forMap
types.