java.lang.Object
io.helidon.service.codegen.ServiceExtensionProvider
- All Implemented Interfaces:
CodegenProvider
,RegistryCodegenExtensionProvider
A
ServiceLoader
provider implementation that adds code generation for Helidon Service Registry.
This extension creates service descriptors.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate
(RegistryCodegenContext codegenContext) Create a new extension based on the context.Annotations that are supported.Inherited annotations that are supported.Configuration options that are supported.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.helidon.codegen.spi.CodegenProvider
supportedAnnotationPackages
-
Constructor Details
-
ServiceExtensionProvider
Deprecated.only forServiceLoader
Required default constructor forServiceLoader
.
-
-
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
- See Also:
-
supportedMetaAnnotations
Description copied from interface:CodegenProvider
Inherited annotations that are supported. If an annotation is annotated with this "meta" annotation, it is considered supported.- Specified by:
supportedMetaAnnotations
in interfaceCodegenProvider
- Returns:
- set of meta annotation types
- See Also:
-
create
Description copied from interface:RegistryCodegenExtensionProvider
Create a new extension based on the context.- Specified by:
create
in interfaceRegistryCodegenExtensionProvider
- Parameters:
codegenContext
- injection code generation context- Returns:
- a new extension
-
ServiceLoader