Module io.helidon.service.codegen
Package io.helidon.service.codegen
Class ServiceRegistryCodegenProvider
java.lang.Object
io.helidon.service.codegen.ServiceRegistryCodegenProvider
- All Implemented Interfaces:
CodegenExtensionProvider
,CodegenProvider
A
ServiceLoader
provider implementation for CodegenExtensionProvider
that handles Helidon Service Registry code generation.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(CodegenContext ctx, TypeName generatorType) Create a new instance of the extension provider.Supported packages of annotations.Annotations that are supported.Configuration options that are supported.
-
Constructor Details
-
ServiceRegistryCodegenProvider
Deprecated.required byServiceLoader
Required default constructor.
-
-
Method Details
-
supportedOptions
Description copied from interface:CodegenProvider
Configuration options that are supported.- Specified by:
supportedOptions
in interfaceCodegenProvider
- Returns:
- set of configuration options
-
supportedAnnotations
Description copied from interface:CodegenProvider
Annotations that are supported.- Specified by:
supportedAnnotations
in interfaceCodegenProvider
- Returns:
- set of annotation types
-
supportedAnnotationPackages
Description copied from interface:CodegenProvider
Supported packages of annotations.- Specified by:
supportedAnnotationPackages
in interfaceCodegenProvider
- Returns:
- set of annotation packages
-
create
Description copied from interface:CodegenExtensionProvider
Create a new instance of the extension provider.- Specified by:
create
in interfaceCodegenExtensionProvider
- 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
-
ServiceLoader