Class BuilderCodegenProvider
java.lang.Object
io.helidon.builder.codegen.BuilderCodegenProvider
- All Implemented Interfaces:
CodegenExtensionProvider, CodegenProvider
ServiceLoader provider implementation for CodegenExtensionProvider,
that code generates builders and implementations for blueprints.-
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 Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface CodegenProvider
supportedAnnotationPackages, supportedMetaAnnotations, supportedOptionsModifier and TypeMethodDescriptionSupported packages of annotations.Inherited annotations that are supported.Configuration options that are supported.
-
Constructor Details
-
BuilderCodegenProvider
public BuilderCodegenProvider()Required public constructor forServiceLoader.
-
-
Method Details
-
create
Description copied from interface:CodegenExtensionProviderCreate a new instance of the extension provider.- Specified by:
createin 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
-
supportedAnnotations
Description copied from interface:CodegenProviderAnnotations that are supported.- Specified by:
supportedAnnotationsin interfaceCodegenProvider- Returns:
- set of annotation types
- See Also:
-