Package io.micronaut.aot.std.sourcegen
Class MapPropertySourceGenerator
java.lang.Object
io.micronaut.aot.core.codegen.AbstractCodeGenerator
io.micronaut.aot.core.codegen.AbstractSingleClassFileGenerator
io.micronaut.aot.std.sourcegen.MapPropertySourceGenerator
- All Implemented Interfaces:
AOTCodeGenerator
A source generator which generates a map property source with a fixed
set of values at build time.
-
Field Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class io.micronaut.aot.core.codegen.AbstractSingleClassFileGenerator
generate, getContext, javaFile
Methods inherited from class io.micronaut.aot.core.codegen.AbstractCodeGenerator
simpleNameOf, staticMethod, staticMethodBuilder
-
Field Details
-
BASE_ID
- See Also:
-
BASE_ORDER_OPTION
- See Also:
-
-
Constructor Details
-
MapPropertySourceGenerator
-
-
Method Details
-
generate
@NonNull protected @NonNull com.squareup.javapoet.JavaFile generate()- Specified by:
generate
in classAbstractSingleClassFileGenerator
-