# Package org.springframework.aot.generate

@NonNullApi @NonNullFields package org.springframework.aot.generate
Support classes for components that contribute generated code equivalent to a runtime behavior.

Related Packages
Package
Description
org.springframework.aot
Core package for Spring AOT infrastructure.
org.springframework.aot.hint
Support for registering the need for reflection, resources, java serialization and proxies at runtime.
org.springframework.aot.nativex
Support for generating GraalVM native configuration from runtime hints.
Class
Description
AccessControl
Determine the access control of a `Member` or type signature.
AccessControl.Visibility
Access visibility types as determined by the modifiers on a `Member` or `ResolvableType`.
ClassNameGenerator
Generate unique class names based on a target `ClassName` and a feature name.
DefaultGenerationContext
Default `GenerationContext` implementation.
DefaultMethodReference
Default `MethodReference` implementation based on a `MethodSpec`.
FileSystemGeneratedFiles
`GeneratedFiles` implementation that stores generated files using a `FileSystem`.
Generated
Indicate that the type has been generated ahead of time.
GeneratedClass
A single generated class.
GeneratedClasses
A managed collection of generated classes.
GeneratedFiles
Repository of generated files.
GeneratedFiles.FileHandler
Provide access to a particular file and offer convenient methods to retrieve, save, or override its content.
GeneratedFiles.Kind
The various kinds of generated files that are supported.
GeneratedMethod
A generated method.
GeneratedMethods
A managed collection of generated methods.
GeneratedTypeReference
A `TypeReference` for a generated type.
GenerationContext
Central interface used for code generation.
InMemoryGeneratedFiles
`GeneratedFiles` implementation that keeps generated files in-memory.
MethodReference
A reference to a method with convenient code generation for referencing, or invoking it.
MethodReference.ArgumentCodeGenerator
Strategy for generating code for arguments based on their type.
UnsupportedTypeValueCodeGenerationException
Thrown when a `ValueCodeGenerator` could not generate the code for a given value.
ValueCodeGenerationException
Thrown when value code generation fails.
ValueCodeGenerator
Code generator for a single value.
ValueCodeGenerator.Delegate
Strategy interface that can be used to implement code generation for a particular value type.
ValueCodeGeneratorDelegates
Code generator `ValueCodeGenerator.Delegate` for well known value types.
ValueCodeGeneratorDelegates.CollectionDelegate<T extends Collection<?>>
Abstract `ValueCodeGenerator.Delegate` for `Collection` types.
ValueCodeGeneratorDelegates.MapDelegate
`ValueCodeGenerator.Delegate` for `Map` types.