Class EnvironmentPropertiesSourceGenerator

java.lang.Object
io.micronaut.aot.core.codegen.AbstractCodeGenerator
io.micronaut.aot.std.sourcegen.EnvironmentPropertiesSourceGenerator
All Implemented Interfaces:
AOTCodeGenerator

public class EnvironmentPropertiesSourceGenerator extends AbstractCodeGenerator
A code generator which is responsible for precomputing the Micronaut property names from environment variable names at build time.
  • Field Details

  • Constructor Details

    • EnvironmentPropertiesSourceGenerator

      public EnvironmentPropertiesSourceGenerator(Map<String,String> env)
    • EnvironmentPropertiesSourceGenerator

      public EnvironmentPropertiesSourceGenerator()
  • Method Details

    • generate

      public void generate(@NonNull @NonNull AOTContext context)