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 for
CodegenEvent.Fluent API builder base for
CodegenEvent.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.Commonly used predicates to filter typed element info.Indentation kind.Module info.Fluent API builder for
ModuleInfo.Fluent API builder base for
ModuleInfo.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.Common code for type info factories.