Package io.micronaut.aot.core.codegen
Class AbstractCodeGenerator
java.lang.Object
io.micronaut.aot.core.codegen.AbstractCodeGenerator
- All Implemented Interfaces:
 AOTCodeGenerator
- Direct Known Subclasses:
 AbstractSingleClassFileGenerator,AbstractStaticServiceLoaderSourceGenerator,ApplicationContextConfigurerGenerator,CachedEnvironmentSourceGenerator,ConstantPropertySourcesSourceGenerator,DeduceEnvironmentSourceGenerator,EnvironmentPropertiesSourceGenerator,GenericPropertySourceGenerator,GraalVMOptimizationFeatureSourceGenerator,KnownMissingTypesSourceGenerator,NettyPropertiesSourceGenerator,PublishersSourceGenerator
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).
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionstatic StringsimpleNameOf(String fqcn) protected static com.squareup.javapoet.MethodSpecstaticMethod(String name, Consumer<? super com.squareup.javapoet.CodeBlock.Builder> body) protected static com.squareup.javapoet.MethodSpecstaticMethodBuilder(String name, Consumer<? super com.squareup.javapoet.MethodSpec.Builder> consumer) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.micronaut.aot.core.AOTCodeGenerator
generate 
- 
Constructor Details
- 
AbstractCodeGenerator
public AbstractCodeGenerator() 
 - 
 - 
Method Details
- 
simpleNameOf
 - 
staticMethodBuilder
 - 
staticMethod
 
 -