Top Description Interfaces Annotations Classes
module spring.core

Package org.springframework.aot.generate

Annotations
@NonNullApi
@NonNullFields
Imports
org.springframework.lang.NonNullApi, .NonNullFields

Support classes for components that contribute generated code equivalent to a runtime behavior.

Interface Summary

Modifier and TypeInterface and Description
public interface
GeneratedFiles

Interface that can be used to add source, resource, or class files generated during ahead-of-time processing.

public interface
GenerationContext

Central interface used for code generation.

public interface
MethodReference

A reference to a method with convenient code generation for referencing, or invoking it.

Annotation Summary

Modifier and TypeAnnotation and Description
public @interface
Generated

Indicate that the type has been generated ahead of time.

Class Summary

Modifier and TypeClass and Description
public class
AccessControl

Determine the access control of a Member or type signature.

pack-priv class
public class
ClassNameGenerator

Generate unique class names based on a target ClassName and a feature name.

public class
public class
DefaultMethodReference

Default MethodReference implementation based on a MethodSpec.

public class
FileSystemGeneratedFiles

GeneratedFiles implementation that stores generated files using a FileSystem.

public class
GeneratedClass

A single generated class.

public class
GeneratedClasses

A managed collection of generated classes.

public class
GeneratedMethod

A generated method.

public class
GeneratedMethods

A managed collection of generated methods.

public class
public class
InMemoryGeneratedFiles

GeneratedFiles implementation that keeps generated files in-memory.

pack-priv class
MethodName

A camel-case method name that can be built from distinct parts.

public class
UnsupportedTypeValueCodeGenerationException

Thrown when a ValueCodeGenerator could not generate the code for a given value.

public class
ValueCodeGenerationException

Thrown when value code generation fails.

public class
ValueCodeGenerator

Code generator for a single value.

public abstract class
ValueCodeGeneratorDelegates

Code generator Delegate for well known value types.