Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- AbstractCodeGenerator - Class in io.micronaut.aot.core.codegen
-
Base class for code generators which need access to the generation context (for example to get a handle on the analyzed application classloader, or to register resources to be excluded from the final binary).
- AbstractCodeGenerator() - Constructor for class io.micronaut.aot.core.codegen.AbstractCodeGenerator
- AbstractSingleClassFileGenerator - Class in io.micronaut.aot.core.codegen
-
Base class for source generators which generate a single class file.
- AbstractSingleClassFileGenerator() - Constructor for class io.micronaut.aot.core.codegen.AbstractSingleClassFileGenerator
- AbstractStaticServiceLoaderSourceGenerator - Class in io.micronaut.aot.std.sourcegen
-
Base class for generation of service loader classes.
- AbstractStaticServiceLoaderSourceGenerator() - Constructor for class io.micronaut.aot.std.sourcegen.AbstractStaticServiceLoaderSourceGenerator
- addClasspath(Collection<File>) - Method in class io.micronaut.aot.MicronautAotOptimizer.Runner
-
Adds elements to the application classpath.
- addDiagnostics(String, String) - Method in interface io.micronaut.aot.core.AOTContext
-
Adds a diagnostic message, which is going to be written in a log file.
- addDiagnostics(String, String) - Method in class io.micronaut.aot.core.codegen.DelegatingSourceGenerationContext
- addDiagnostics(String, String) - Method in class io.micronaut.aot.core.context.DefaultSourceGenerationContext
- AOTCodeGenerator - Interface in io.micronaut.aot.core
-
A source generator is the main entity of the AOT project.
- AOTContext - Interface in io.micronaut.aot.core
-
The source generation context is used by source generators to get configuration details.
- AOTModule - Annotation Interface in io.micronaut.aot.core
-
Annotation which must be present on AOT optimizers.
- ApplicationContextAnalyzer - Class in io.micronaut.aot.core.context
-
An application context analyzer is responsible for instantiating an application context and inferring whether a bean should be included in the application binaries.
- ApplicationContextConfigurerGenerator - Class in io.micronaut.aot.core.codegen
-
The "optimized" entry point generator is the main source generator: it is responsible for generating a new entry point, which delegates to the original entry point of the application, and injects a number of optimizations before starting the application.
- ApplicationContextConfigurerGenerator(List<AOTCodeGenerator>) - Constructor for class io.micronaut.aot.core.codegen.ApplicationContextConfigurerGenerator
B
- BASE_ID - Static variable in class io.micronaut.aot.std.sourcegen.MapPropertySourceGenerator
- BASE_ORDER_OPTION - Static variable in class io.micronaut.aot.std.sourcegen.MapPropertySourceGenerator
- booleanValue(String, boolean) - Method in interface io.micronaut.aot.core.Configuration
-
Returns the boolean value for the required key.
C
- CachedEnvironmentSourceGenerator - Class in io.micronaut.aot.std.sourcegen
-
Generates the code used to enable environment variables and system properties caching in Micronaut.
- CachedEnvironmentSourceGenerator() - Constructor for class io.micronaut.aot.std.sourcegen.CachedEnvironmentSourceGenerator
- CLASSPATH - Static variable in interface io.micronaut.aot.ConfigKeys
- ConfigKeys - Interface in io.micronaut.aot
-
Configuration keys which may be found in the properties used to configure the AOT analyzer, but shouldn't be declared directly by the user.
- Configuration - Interface in io.micronaut.aot.core
-
Read-only configuration for source generators.
- ConstantPropertySourcesSourceGenerator - Class in io.micronaut.aot.std.sourcegen
-
Generates a "constant" property source, that is to say a
PropertySource
which properties are known at build time (and constant). - ConstantPropertySourcesSourceGenerator() - Constructor for class io.micronaut.aot.std.sourcegen.ConstantPropertySourcesSourceGenerator
- containsKey(String) - Method in class io.micronaut.aot.core.config.DefaultConfiguration
-
Returns true if the configuration contains an entry for the specified key.
- containsKey(String) - Method in interface io.micronaut.aot.core.Configuration
-
Returns true if the configuration contains an entry for the specified key.
- context - Variable in class io.micronaut.aot.std.sourcegen.AbstractStaticServiceLoaderSourceGenerator
- create() - Static method in class io.micronaut.aot.core.context.ApplicationContextAnalyzer
-
Instantiates an application context analyzer.
- create(Consumer<? super ApplicationContextBuilder>) - Static method in class io.micronaut.aot.core.context.ApplicationContextAnalyzer
-
Instantiates an application context analyzer with the ability to customize the application context.
- CUSTOMIZER_CLASS_NAME - Static variable in class io.micronaut.aot.core.codegen.ApplicationContextConfigurerGenerator
D
- DEDUCED_ENVIRONMENT_CONFIGURER - Static variable in class io.micronaut.aot.std.sourcegen.DeduceEnvironmentSourceGenerator
- DeduceEnvironmentSourceGenerator - Class in io.micronaut.aot.std.sourcegen
-
This code generator is responsible for taking the result of the environment deduction, which is the set of active environment names and the package names, and inject is via a custom application context configurer.
- DeduceEnvironmentSourceGenerator() - Constructor for class io.micronaut.aot.std.sourcegen.DeduceEnvironmentSourceGenerator
- DEFAULT_SERVICE_TYPES - Static variable in class io.micronaut.aot.std.sourcegen.AbstractStaticServiceLoaderSourceGenerator
- DEFAULT_SERVICE_TYPES_LIST - Static variable in class io.micronaut.aot.std.sourcegen.AbstractStaticServiceLoaderSourceGenerator
- DefaultConfiguration - Class in io.micronaut.aot.core.config
-
An implementation of configuration which uses properties as the backing store.
- DefaultConfiguration(Properties) - Constructor for class io.micronaut.aot.core.config.DefaultConfiguration
- DefaultSourceGenerationContext - Class in io.micronaut.aot.core.context
-
The source generation context.
- DefaultSourceGenerationContext(String, ApplicationContextAnalyzer, Configuration, Path) - Constructor for class io.micronaut.aot.core.context.DefaultSourceGenerationContext
- DelegatingSourceGenerationContext - Class in io.micronaut.aot.core.codegen
-
Base class for source generation context which need to delegate to another one.
- DelegatingSourceGenerationContext(AOTContext) - Constructor for class io.micronaut.aot.core.codegen.DelegatingSourceGenerationContext
- dependencies() - Element in annotation interface io.micronaut.aot.core.AOTModule
-
Returns the identifiers of source generators which must be executed before this generator is called.
- description() - Element in annotation interface io.micronaut.aot.core.AOTModule
-
Returns a description for this source generator.
- description() - Element in annotation interface io.micronaut.aot.core.Option
-
Returns a description of this configuration option.
- DESCRIPTION - Static variable in class io.micronaut.aot.std.sourcegen.AbstractStaticServiceLoaderSourceGenerator
- DESCRIPTION - Static variable in class io.micronaut.aot.std.sourcegen.CachedEnvironmentSourceGenerator
- DESCRIPTION - Static variable in class io.micronaut.aot.std.sourcegen.ConstantPropertySourcesSourceGenerator
- DESCRIPTION - Static variable in class io.micronaut.aot.std.sourcegen.DeduceEnvironmentSourceGenerator
- DESCRIPTION - Static variable in class io.micronaut.aot.std.sourcegen.EnvironmentPropertiesSourceGenerator
- DESCRIPTION - Static variable in class io.micronaut.aot.std.sourcegen.GraalVMOptimizationFeatureSourceGenerator
- DESCRIPTION - Static variable in class io.micronaut.aot.std.sourcegen.KnownMissingTypesSourceGenerator
- DESCRIPTION - Static variable in class io.micronaut.aot.std.sourcegen.LogbackConfigurationSourceGenerator
- DESCRIPTION - Static variable in class io.micronaut.aot.std.sourcegen.NettyPropertiesSourceGenerator
- DESCRIPTION - Static variable in class io.micronaut.aot.std.sourcegen.PublishersSourceGenerator
- DESCRIPTION - Static variable in class io.micronaut.aot.std.sourcegen.YamlPropertySourceGenerator
- displayName() - Method in enum class io.micronaut.aot.core.Runtime
E
- enabledOn() - Element in annotation interface io.micronaut.aot.core.AOTModule
-
Returns the runtimes this module is valid for.
- EnvironmentPropertiesSourceGenerator - Class in io.micronaut.aot.std.sourcegen
-
A code generator which is responsible for precomputing the Micronaut property names from environment variable names at build time.
- EnvironmentPropertiesSourceGenerator() - Constructor for class io.micronaut.aot.std.sourcegen.EnvironmentPropertiesSourceGenerator
- EnvironmentPropertiesSourceGenerator(Map<String, String>) - Constructor for class io.micronaut.aot.std.sourcegen.EnvironmentPropertiesSourceGenerator
- Environments - Class in io.micronaut.aot.core
-
Constants used for configuration of environments.
- Environments() - Constructor for class io.micronaut.aot.core.Environments
- execute() - Method in class io.micronaut.aot.MicronautAotOptimizer.Runner
- execute(String[]) - Static method in class io.micronaut.aot.cli.Main
- execute(Properties) - Static method in class io.micronaut.aot.MicronautAotOptimizer
-
This convenience method uses properties to load the configuration.
- exportConfiguration(String, File) - Static method in class io.micronaut.aot.MicronautAotOptimizer
-
Scans the list of available optimization services and generates a configuration file which includes all entries.
F
- findMetadata(Class<?>) - Static method in class io.micronaut.aot.core.config.MetadataUtils
-
Returns the AOT module annotation for a class, if present.
- findOption(Class<?>, String) - Static method in class io.micronaut.aot.core.config.MetadataUtils
-
Returns the option with the corresponding name.
- FORCE_INCLUDE - Static variable in class io.micronaut.aot.std.sourcegen.AbstractStaticServiceLoaderSourceGenerator
G
- generate() - Method in class io.micronaut.aot.core.codegen.AbstractSingleClassFileGenerator
- generate() - Method in class io.micronaut.aot.std.sourcegen.LogbackConfigurationSourceGenerator
- generate() - Method in class io.micronaut.aot.std.sourcegen.MapPropertySourceGenerator
- generate(AOTContext) - Method in interface io.micronaut.aot.core.AOTCodeGenerator
- generate(AOTContext) - Method in class io.micronaut.aot.core.codegen.AbstractSingleClassFileGenerator
- generate(AOTContext) - Method in class io.micronaut.aot.core.codegen.ApplicationContextConfigurerGenerator
- generate(AOTContext) - Method in class io.micronaut.aot.std.sourcegen.AbstractStaticServiceLoaderSourceGenerator
- generate(AOTContext) - Method in class io.micronaut.aot.std.sourcegen.CachedEnvironmentSourceGenerator
- generate(AOTContext) - Method in class io.micronaut.aot.std.sourcegen.ConstantPropertySourcesSourceGenerator
- generate(AOTContext) - Method in class io.micronaut.aot.std.sourcegen.EnvironmentPropertiesSourceGenerator
- generate(AOTContext) - Method in class io.micronaut.aot.std.sourcegen.GraalVMOptimizationFeatureSourceGenerator
- generate(AOTContext) - Method in class io.micronaut.aot.std.sourcegen.KnownMissingTypesSourceGenerator
- generate(AOTContext) - Method in class io.micronaut.aot.std.sourcegen.LogbackConfigurationSourceGenerator
- generate(AOTContext) - Method in class io.micronaut.aot.std.sourcegen.NettyPropertiesSourceGenerator
- generate(AOTContext) - Method in class io.micronaut.aot.std.sourcegen.PublishersSourceGenerator
- generate(AOTContext) - Method in class io.micronaut.aot.std.sourcegen.YamlPropertySourceGenerator
- generate(AOTContext) - Method in class io.micronaut.aot.std.sourcegen.DeduceEnvironmentSourceGenerator
- GENERATED_CLASS - Static variable in class io.micronaut.aot.std.sourcegen.NettyPropertiesSourceGenerator
- GENERATED_PACKAGE - Static variable in interface io.micronaut.aot.ConfigKeys
- generateFindAllMethod(Stream<Class<?>>, String, Class<?>, TypeSpec.Builder) - Method in class io.micronaut.aot.std.sourcegen.AbstractStaticServiceLoaderSourceGenerator
- generateFindAllMethod(Stream<Class<?>>, String, Class<?>, TypeSpec.Builder) - Method in class io.micronaut.aot.std.sourcegen.JitStaticServiceLoaderSourceGenerator
- generateFindAllMethod(Stream<Class<?>>, String, Class<?>, TypeSpec.Builder) - Method in class io.micronaut.aot.std.sourcegen.NativeStaticServiceLoaderSourceGenerator
- generateMap(TypeSpec.Builder, Map<String, Object>) - Method in class io.micronaut.aot.core.codegen.MapGenerator
- get() - Method in interface io.micronaut.aot.internal.StreamHelper.ThrowingSupplier
- get(Class<T>) - Method in interface io.micronaut.aot.core.AOTContext
-
Reads an entry from the context.
- get(Class<T>) - Method in class io.micronaut.aot.core.codegen.DelegatingSourceGenerationContext
- get(Class<T>) - Method in class io.micronaut.aot.core.context.DefaultSourceGenerationContext
- getAnalyzer() - Method in interface io.micronaut.aot.core.AOTContext
-
Returns the application context analyzer.
- getAnalyzer() - Method in class io.micronaut.aot.core.codegen.DelegatingSourceGenerationContext
- getAnalyzer() - Method in class io.micronaut.aot.core.context.DefaultSourceGenerationContext
- getAnnotationMetadataPredicate() - Method in class io.micronaut.aot.core.context.ApplicationContextAnalyzer
-
Returns a predicate which can be used to determine, from annotation metadata, if a bean matches requirements.
- getApplicationContext() - Method in class io.micronaut.aot.core.context.ApplicationContextAnalyzer
- getConfiguration() - Method in interface io.micronaut.aot.core.AOTContext
-
Returns the source generators configuration.
- getConfiguration() - Method in class io.micronaut.aot.core.codegen.DelegatingSourceGenerationContext
- getConfiguration() - Method in class io.micronaut.aot.core.context.DefaultSourceGenerationContext
- getContext() - Method in class io.micronaut.aot.core.codegen.AbstractSingleClassFileGenerator
- getDiagnostics() - Method in interface io.micronaut.aot.core.AOTContext
-
Returns the diagnostics map.
- getDiagnostics() - Method in class io.micronaut.aot.core.codegen.DelegatingSourceGenerationContext
- getDiagnostics() - Method in class io.micronaut.aot.core.context.DefaultSourceGenerationContext
- getEnvironmentNames() - Method in class io.micronaut.aot.core.context.ApplicationContextAnalyzer
- getExcludedResources() - Method in class io.micronaut.aot.core.context.DefaultSourceGenerationContext
-
Returns the list of resources to be excluded from the binary.
- getExtraClasspath() - Method in class io.micronaut.aot.core.context.DefaultSourceGenerationContext
- getGeneratedJavaFiles() - Method in class io.micronaut.aot.core.context.DefaultSourceGenerationContext
- getGeneratedStaticInitializers() - Method in class io.micronaut.aot.core.context.DefaultSourceGenerationContext
- getLogbackFileName() - Method in class io.micronaut.aot.std.sourcegen.LogbackConfigurationSourceGenerator
-
Returns the name of the logback configuration file.
- getPackageName() - Method in interface io.micronaut.aot.core.AOTContext
-
The package which should be used for generated classes.
- getPackageName() - Method in class io.micronaut.aot.core.codegen.DelegatingSourceGenerationContext
- getPackageName() - Method in class io.micronaut.aot.core.context.DefaultSourceGenerationContext
- getRuntime() - Method in interface io.micronaut.aot.core.AOTContext
-
Returns the target runtime environment.
- getRuntime() - Method in class io.micronaut.aot.core.codegen.DelegatingSourceGenerationContext
- getRuntime() - Method in class io.micronaut.aot.core.config.DefaultConfiguration
- getRuntime() - Method in interface io.micronaut.aot.core.Configuration
-
Returns the target runtime for optimizations.
- getRuntime() - Method in class io.micronaut.aot.core.context.DefaultSourceGenerationContext
- getVersion() - Method in class io.micronaut.aot.cli.VersionProvider
- GraalVMOptimizationFeatureSourceGenerator - Class in io.micronaut.aot.std.sourcegen
-
Generates the GraalVM configuration file which is going to configure the native image code generation, typically asking to initialize the optimized entry point at build time.
- GraalVMOptimizationFeatureSourceGenerator() - Constructor for class io.micronaut.aot.std.sourcegen.GraalVMOptimizationFeatureSourceGenerator
I
- id() - Element in annotation interface io.micronaut.aot.core.AOTModule
-
A unique identifier for this source generator.
- ID - Static variable in class io.micronaut.aot.core.codegen.ApplicationContextConfigurerGenerator
- ID - Static variable in class io.micronaut.aot.std.sourcegen.CachedEnvironmentSourceGenerator
- ID - Static variable in class io.micronaut.aot.std.sourcegen.ConstantPropertySourcesSourceGenerator
- ID - Static variable in class io.micronaut.aot.std.sourcegen.DeduceEnvironmentSourceGenerator
- ID - Static variable in class io.micronaut.aot.std.sourcegen.EnvironmentPropertiesSourceGenerator
- ID - Static variable in class io.micronaut.aot.std.sourcegen.GraalVMOptimizationFeatureSourceGenerator
- ID - Static variable in class io.micronaut.aot.std.sourcegen.JitStaticServiceLoaderSourceGenerator
- ID - Static variable in class io.micronaut.aot.std.sourcegen.KnownMissingTypesSourceGenerator
- ID - Static variable in class io.micronaut.aot.std.sourcegen.LogbackConfigurationSourceGenerator
- ID - Static variable in class io.micronaut.aot.std.sourcegen.NativeStaticServiceLoaderSourceGenerator
- ID - Static variable in class io.micronaut.aot.std.sourcegen.NettyPropertiesSourceGenerator
- ID - Static variable in class io.micronaut.aot.std.sourcegen.PublishersSourceGenerator
- ID - Static variable in class io.micronaut.aot.std.sourcegen.YamlPropertySourceGenerator
- io.micronaut.aot - package io.micronaut.aot
- io.micronaut.aot.cli - package io.micronaut.aot.cli
- io.micronaut.aot.core - package io.micronaut.aot.core
- io.micronaut.aot.core.codegen - package io.micronaut.aot.core.codegen
- io.micronaut.aot.core.config - package io.micronaut.aot.core.config
- io.micronaut.aot.core.context - package io.micronaut.aot.core.context
- io.micronaut.aot.internal - package io.micronaut.aot.internal
- io.micronaut.aot.std.sourcegen - package io.micronaut.aot.std.sourcegen
- isEnabledOn(Runtime, AOTCodeGenerator) - Static method in class io.micronaut.aot.core.config.MetadataUtils
- isEnabledOn(Runtime, AOTModule) - Static method in class io.micronaut.aot.core.config.MetadataUtils
- isFeatureEnabled(String) - Method in interface io.micronaut.aot.core.Configuration
-
Returns true if a particular optimizer is enabled, independently of the runtime.
J
- javaFile(TypeSpec) - Method in interface io.micronaut.aot.core.AOTContext
-
Generates a java file spec.
- javaFile(TypeSpec) - Method in class io.micronaut.aot.core.codegen.AbstractSingleClassFileGenerator
- javaFile(TypeSpec) - Method in class io.micronaut.aot.core.codegen.DelegatingSourceGenerationContext
- javaFile(TypeSpec) - Method in class io.micronaut.aot.core.context.DefaultSourceGenerationContext
- JIT - Enum constant in enum class io.micronaut.aot.core.Runtime
- JitStaticServiceLoaderSourceGenerator - Class in io.micronaut.aot.std.sourcegen
-
A specialized version of static service loader generator aimed at execution in JIT mode.
- JitStaticServiceLoaderSourceGenerator() - Constructor for class io.micronaut.aot.std.sourcegen.JitStaticServiceLoaderSourceGenerator
K
- key() - Element in annotation interface io.micronaut.aot.core.Option
-
Returns the key used to configure this option.
- KnownMissingTypesSourceGenerator - Class in io.micronaut.aot.std.sourcegen
-
A source generator which will check for existence of a number of classes at build time.
- KnownMissingTypesSourceGenerator() - Constructor for class io.micronaut.aot.std.sourcegen.KnownMissingTypesSourceGenerator
L
- list(Runtime) - Static method in class io.micronaut.aot.core.config.SourceGeneratorLoader
- load(Runtime, AOTContext) - Static method in class io.micronaut.aot.core.config.SourceGeneratorLoader
- LogbackConfigurationSourceGenerator - Class in io.micronaut.aot.std.sourcegen
-
A source generator responsible for converting a logback.xml configuration into Java configuration.
- LogbackConfigurationSourceGenerator() - Constructor for class io.micronaut.aot.std.sourcegen.LogbackConfigurationSourceGenerator
M
- MACHINE_ID - Static variable in class io.micronaut.aot.std.sourcegen.NettyPropertiesSourceGenerator
- MACHINE_ID_DESCRIPTION - Static variable in class io.micronaut.aot.std.sourcegen.NettyPropertiesSourceGenerator
- main(String[]) - Static method in class io.micronaut.aot.cli.Main
- Main - Class in io.micronaut.aot.cli
-
Entry point for the Micronaut AOT command line interface.
- Main() - Constructor for class io.micronaut.aot.cli.Main
- mandatoryValue(String) - Method in class io.micronaut.aot.core.config.DefaultConfiguration
- mandatoryValue(String) - Method in interface io.micronaut.aot.core.Configuration
-
Returns the value of the configuration for the requested key or fails if not available.
- MapGenerator - Class in io.micronaut.aot.core.codegen
-
A helper class to generate maps.
- MapGenerator() - Constructor for class io.micronaut.aot.core.codegen.MapGenerator
- MapPropertySourceGenerator - Class in io.micronaut.aot.std.sourcegen
-
A source generator which generates a map property source with a fixed set of values at build time.
- MapPropertySourceGenerator(String, Map<String, Object>) - Constructor for class io.micronaut.aot.std.sourcegen.MapPropertySourceGenerator
- MetadataUtils - Class in io.micronaut.aot.core.config
-
Runtime reflection utils for analyzing AOT modules.
- MetadataUtils() - Constructor for class io.micronaut.aot.core.config.MetadataUtils
- MicronautAotOptimizer - Class in io.micronaut.aot
-
The Micronaut AOT optimizer is the main entry point for code generation at build time.
- MicronautAotOptimizer.Runner - Class in io.micronaut.aot
-
The main AOT optimizer runner.
N
- NATIVE - Enum constant in enum class io.micronaut.aot.core.Runtime
- NativeStaticServiceLoaderSourceGenerator - Class in io.micronaut.aot.std.sourcegen
-
A specialized version of service loader generation which is aimed at executing in native images, where classloading is basically free.
- NativeStaticServiceLoaderSourceGenerator() - Constructor for class io.micronaut.aot.std.sourcegen.NativeStaticServiceLoaderSourceGenerator
- NettyPropertiesSourceGenerator - Class in io.micronaut.aot.std.sourcegen
-
A code generator which is responsible for setting up Netty properties.
- NettyPropertiesSourceGenerator() - Constructor for class io.micronaut.aot.std.sourcegen.NettyPropertiesSourceGenerator
O
- Option - Annotation Interface in io.micronaut.aot.core
-
Describes a configuration option of a source generator.
- OPTION - Static variable in class io.micronaut.aot.std.sourcegen.KnownMissingTypesSourceGenerator
- optionalString(String, String) - Method in interface io.micronaut.aot.core.Configuration
-
Returns the string for the specified configuration key, or the default value when missing.
- optionalValue(String, Function<Optional<String>, T>) - Method in class io.micronaut.aot.core.config.DefaultConfiguration
- optionalValue(String, Function<Optional<String>, T>) - Method in interface io.micronaut.aot.core.Configuration
-
Returns the value for the requested key.
- options() - Element in annotation interface io.micronaut.aot.core.AOTModule
-
Returns the set of configuration keys which affect the configuration of this source generator.
- OUTPUT_DIRECTORY - Static variable in interface io.micronaut.aot.ConfigKeys
- OUTPUT_RESOURCES_FILE_NAME - Static variable in class io.micronaut.aot.MicronautAotOptimizer
P
- ParentTagTagClassTuple - Class in io.micronaut.aot.std.sourcegen
-
Represents default class name rules.
- ParentTagTagClassTuple(String, String, Class<?>) - Constructor for class io.micronaut.aot.std.sourcegen.ParentTagTagClassTuple
- POSSIBLE_ENVIRONMENTS_DESCRIPTION - Static variable in class io.micronaut.aot.core.Environments
- POSSIBLE_ENVIRONMENTS_NAMES - Static variable in class io.micronaut.aot.core.Environments
- POSSIBLE_ENVIRONMENTS_SAMPLE - Static variable in class io.micronaut.aot.core.Environments
- PROCESS_ID - Static variable in class io.micronaut.aot.std.sourcegen.NettyPropertiesSourceGenerator
- PROCESS_ID_DESCRIPTION - Static variable in class io.micronaut.aot.std.sourcegen.NettyPropertiesSourceGenerator
- PublishersSourceGenerator - Class in io.micronaut.aot.std.sourcegen
-
An optimizer which is responsible for determining what reactive types are found at build time.
- PublishersSourceGenerator() - Constructor for class io.micronaut.aot.std.sourcegen.PublishersSourceGenerator
- put(Class<T>, T) - Method in interface io.micronaut.aot.core.AOTContext
-
Stores an entry in the context.
- put(Class<T>, T) - Method in class io.micronaut.aot.core.codegen.DelegatingSourceGenerationContext
- put(Class<T>, T) - Method in class io.micronaut.aot.core.context.DefaultSourceGenerationContext
R
- registerClassNeededAtCompileTime(Class<?>) - Method in interface io.micronaut.aot.core.AOTContext
-
Registers a class as needed at compile time (where compile time is the compile time of generated classes).
- registerClassNeededAtCompileTime(Class<?>) - Method in class io.micronaut.aot.core.codegen.DelegatingSourceGenerationContext
- registerClassNeededAtCompileTime(Class<?>) - Method in class io.micronaut.aot.core.context.DefaultSourceGenerationContext
- registerExcludedResource(String) - Method in interface io.micronaut.aot.core.AOTContext
-
Registers a resource path as excluded.
- registerExcludedResource(String) - Method in class io.micronaut.aot.core.codegen.DelegatingSourceGenerationContext
- registerExcludedResource(String) - Method in class io.micronaut.aot.core.context.DefaultSourceGenerationContext
- registerGeneratedResource(String, Consumer<? super File>) - Method in interface io.micronaut.aot.core.AOTContext
-
Registers a new generated resource.
- registerGeneratedResource(String, Consumer<? super File>) - Method in class io.micronaut.aot.core.codegen.DelegatingSourceGenerationContext
- registerGeneratedResource(String, Consumer<? super File>) - Method in class io.micronaut.aot.core.context.DefaultSourceGenerationContext
- registerGeneratedSourceFile(JavaFile) - Method in interface io.micronaut.aot.core.AOTContext
-
Registers a generated source file.
- registerGeneratedSourceFile(JavaFile) - Method in class io.micronaut.aot.core.codegen.DelegatingSourceGenerationContext
- registerGeneratedSourceFile(JavaFile) - Method in class io.micronaut.aot.core.context.DefaultSourceGenerationContext
- registerServiceImplementation(Class<?>, String) - Method in interface io.micronaut.aot.core.AOTContext
-
Registers a generated service type.
- registerServiceImplementation(Class<?>, String) - Method in class io.micronaut.aot.core.codegen.DelegatingSourceGenerationContext
-
Registers a generated service type.
- registerServiceImplementation(Class<?>, String) - Method in class io.micronaut.aot.core.context.DefaultSourceGenerationContext
-
Registers a generated service type.
- registerStaticInitializer(MethodSpec) - Method in interface io.micronaut.aot.core.AOTContext
-
Registers a code block to be executed statically when the optimized binary is loaded.
- registerStaticInitializer(MethodSpec) - Method in class io.micronaut.aot.core.codegen.DelegatingSourceGenerationContext
- registerStaticInitializer(MethodSpec) - Method in class io.micronaut.aot.core.context.DefaultSourceGenerationContext
- registerStaticOptimization(String, Class<T>, Consumer<? super CodeBlock.Builder>) - Method in interface io.micronaut.aot.core.AOTContext
-
Registers a static optimization method.
- registerStaticOptimization(String, Class<T>, Consumer<? super CodeBlock.Builder>) - Method in class io.micronaut.aot.core.codegen.DelegatingSourceGenerationContext
-
Registers a static optimization method.
- registerStaticOptimization(String, Class<T>, Consumer<? super CodeBlock.Builder>) - Method in class io.micronaut.aot.core.context.DefaultSourceGenerationContext
-
Registers a static optimization method.
- REJECTED_CLASSES - Static variable in class io.micronaut.aot.std.sourcegen.AbstractStaticServiceLoaderSourceGenerator
- run() - Method in class io.micronaut.aot.cli.Main
- run() - Method in interface io.micronaut.aot.internal.StreamHelper.ThrowingRunner
- runner(String, File, File, File, Configuration) - Static method in class io.micronaut.aot.MicronautAotOptimizer
- Runner(String, File, File, File, Configuration) - Constructor for class io.micronaut.aot.MicronautAotOptimizer.Runner
- Runtime - Enum Class in io.micronaut.aot.core
-
The targetted type of runtime.
- RUNTIME - Static variable in interface io.micronaut.aot.ConfigKeys
S
- sampleValue() - Element in annotation interface io.micronaut.aot.core.Option
-
Returns a sample value for this option, if any.
- SERVICE_LOADING_CATEGORY - Static variable in class io.micronaut.aot.std.sourcegen.AbstractStaticServiceLoaderSourceGenerator
- SERVICE_TYPES - Static variable in class io.micronaut.aot.std.sourcegen.AbstractStaticServiceLoaderSourceGenerator
- simpleNameOf(String) - Static method in class io.micronaut.aot.core.codegen.AbstractCodeGenerator
- SourceGeneratorLoader - Class in io.micronaut.aot.core.config
-
This class is responsible for loading the source generators for a particular target runtime, and sort them in execution order according to their dependencies.
- SourceGeneratorLoader() - Constructor for class io.micronaut.aot.core.config.SourceGeneratorLoader
- staticMethod(String, Consumer<? super CodeBlock.Builder>) - Static method in class io.micronaut.aot.core.codegen.AbstractCodeGenerator
- staticMethodBuilder(String, Consumer<? super MethodSpec.Builder>) - Static method in class io.micronaut.aot.core.codegen.AbstractCodeGenerator
- StreamHelper - Class in io.micronaut.aot.internal
-
Utility methods to deal with exceptions being thrown in streams.
- StreamHelper() - Constructor for class io.micronaut.aot.internal.StreamHelper
- StreamHelper.ThrowingRunner - Interface in io.micronaut.aot.internal
-
A helper interface for runnables which may throw an exception.
- StreamHelper.ThrowingSupplier<T> - Interface in io.micronaut.aot.internal
-
A helper interface to capture suppliers which may throw an exception.
- stringList(String) - Method in interface io.micronaut.aot.core.Configuration
-
Returns a list of strings from a configuration entry.
- stringList(String, String) - Method in interface io.micronaut.aot.core.Configuration
-
Returns a list of strings from a configuration entry.
- subgenerators() - Element in annotation interface io.micronaut.aot.core.AOTModule
-
Returns a list of generators which are directly managed (or instantiated_ by this source generator.
T
- TARGET_ENVIRONMENTS_DESCRIPTION - Static variable in class io.micronaut.aot.core.Environments
- TARGET_ENVIRONMENTS_NAMES - Static variable in class io.micronaut.aot.core.Environments
- TARGET_ENVIRONMENTS_SAMPLE - Static variable in class io.micronaut.aot.core.Environments
- toPropertiesSample(Option) - Static method in class io.micronaut.aot.core.config.MetadataUtils
-
Returns a string representation of the option, for use in properties files.
- toString() - Method in class io.micronaut.aot.std.sourcegen.ParentTagTagClassTuple
- trying(StreamHelper.ThrowingRunner) - Static method in class io.micronaut.aot.internal.StreamHelper
- trying(StreamHelper.ThrowingSupplier<T>) - Static method in class io.micronaut.aot.internal.StreamHelper
V
- valueOf(String) - Static method in enum class io.micronaut.aot.core.Runtime
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class io.micronaut.aot.core.Runtime
-
Returns an array containing the constants of this enum class, in the order they are declared.
- VersionProvider - Class in io.micronaut.aot.cli
-
Reads the version.txt generated file to feed it to picocli.
- VersionProvider() - Constructor for class io.micronaut.aot.cli.VersionProvider
Y
- YamlPropertySourceGenerator - Class in io.micronaut.aot.std.sourcegen
-
A source generator which will generate a static
PropertySource
from a given YAML configuration file, in order to substitute the dynamic loader with a static configuration. - YamlPropertySourceGenerator(Collection<String>) - Constructor for class io.micronaut.aot.std.sourcegen.YamlPropertySourceGenerator
All Classes and Interfaces|All Packages|Constant Field Values