- All Superinterfaces:
CodegenProvider
- All Known Implementing Classes:
BuilderCodegenProvider
,ConfigMetadataCodegenProvider
,ServiceRegistryCodegenProvider
Java
ServiceLoader
provider interface for extensions used to process and code generate.
Each implementation will be called with types that match its declared CodegenProvider.supportedAnnotations()
and
CodegenProvider.supportedAnnotationPackages()
.-
Method Summary
Modifier and TypeMethodDescriptioncreate
(CodegenContext ctx, TypeName generatorType) Create a new instance of the extension provider.Methods inherited from interface io.helidon.codegen.spi.CodegenProvider
supportedAnnotationPackages, supportedAnnotations, supportedOptions
-
Method Details
-
create
Create a new instance of the extension provider.- Parameters:
ctx
- codegen context for the current environmentgeneratorType
- type of the generator (annotation processor, maven plugin etc.), for reporting purposes- Returns:
- a new codegen extension
-