Class FeatureCodegenProvider
java.lang.Object
io.helidon.common.features.codegen.FeatureCodegenProvider
- All Implemented Interfaces:
CodegenExtensionProvider
,CodegenProvider
Service provider implementation for
CodegenExtensionProvider
.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate
(CodegenContext ctx, TypeName generatorType) Create a new instance of the extension provider.Annotations 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, supportedMetaAnnotations, supportedOptions
-
Constructor Details
-
FeatureCodegenProvider
public FeatureCodegenProvider()Public constructor required byServiceLoader
.
-
-
Method Details
-
supportedAnnotations
Description copied from interface:CodegenProvider
Annotations that are supported.- Specified by:
supportedAnnotations
in interfaceCodegenProvider
- Returns:
- set of annotation types
- See Also:
-
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
-