Module io.helidon.codegen
Package io.helidon.codegen
package io.helidon.codegen
Code generation and processing support.
The main type to start with is Codegen
, that is responsible for discovering all extensions on the
classpath, to understand what annotations they are interested in, and then invoking them as needed.
This type is expected to be called from an annotation processor, Maven plugin, or a command line tool (or any other tool
capable of analyzing sources or byte code and/or generating new types.
- See Also:
-
ClassDescriptionA code generated type.Central piece of code processing and generation.Code processing and generation context.Base of codegen context implementation taking care of the common parts of the API.Base of codegen context implementation that delegates common parts of the API to an existing instance.An event happening during code gen to be logged with
CodegenLogger.log(CodegenEvent)
.Fluent API builder forCodegenEvent
.CodegenEvent.BuilderBase<BUILDER extends CodegenEvent.BuilderBase<BUILDER>>Fluent API builder base forCodegenEvent
.Generated implementation of the prototype, can be extended by descendant prototype implementations.An exception for any code processing and generation tools.An abstraction for writing out source files and resource files.An abstraction for logging code processing and generation events.Configuration options.Scope of the current code generation session.Tools for generating code.Validation utilities.Commonly used predicates to filter typed element info.A resource from output (such astarget/META-INF/helidon
) that can have existing values, and may be replaced with a new value.A resource from output (such astarget/META-INF/helidon
) that can have existing values, and may be replaced with a new value.Indentation kind.Module info.Fluent API builder forModuleInfo
.ModuleInfo.BuilderBase<BUILDER extends ModuleInfo.BuilderBase<BUILDER>>Fluent API builder base forModuleInfo
.Generated implementation of the prototype, can be extended by descendant prototype implementations.A requires definition of a module-info.java.Support for parsing module-info.java sources.Option<T>Option definition.Context of a single round of code generation.Utilities for type hierarchy.Common code for type info factories.