Package io.micronaut.aot.core
Interface AOTCodeGenerator
- All Known Implementing Classes:
AbstractCodeGenerator
,AbstractSingleClassFileGenerator
,AbstractStaticServiceLoaderSourceGenerator
,ApplicationContextConfigurerGenerator
,CachedEnvironmentSourceGenerator
,ConstantPropertySourcesSourceGenerator
,DeduceEnvironmentSourceGenerator
,EnvironmentPropertiesSourceGenerator
,GraalVMOptimizationFeatureSourceGenerator
,JitStaticServiceLoaderSourceGenerator
,KnownMissingTypesSourceGenerator
,LogbackConfigurationSourceGenerator
,MapPropertySourceGenerator
,NativeStaticServiceLoaderSourceGenerator
,NettyPropertiesSourceGenerator
,PublishersSourceGenerator
,YamlPropertySourceGenerator
public interface AOTCodeGenerator
A source generator is the main entity of the AOT project.
It is responsible for generating sources, or resources, at
build time, but unlike annotation processors, source generators
can use a variety of different inputs, and can even execute
application code at build time to determine what optimizations
to generate.
- a static initializer, which is going to be included in the optimized entry point generated class
- one or more source files
- one or more resource files
Code generators must be annotated with AOTModule
.
-
Method Summary
-
Method Details
-
generate
-