Module io.helidon.builder.codegen
Package io.helidon.builder.codegen.spi
Interface BuilderCodegenExtensionProvider
public interface BuilderCodegenExtensionProvider
An extension provider to modify the behavior of the builder code generator.
-
Method Summary
Modifier and TypeMethodDescriptionCreate an extension for the given type(s), that was checked bysupports(io.helidon.common.types.TypeName).booleanWhether this extension provider supports the given type, that is configured by the user inio.helidon.builder.api.Prototype.Extension#value.
-
Method Details
-
supports
Whether this extension provider supports the given type, that is configured by the user inio.helidon.builder.api.Prototype.Extension#value.- Parameters:
type- type provided in the extension annotation that an extension may support- Returns:
trueif this provider supports the given type,falseotherwise
-
create
Create an extension for the given type(s), that was checked bysupports(io.helidon.common.types.TypeName).- Parameters:
supportedTypes- types supported by this extension - at least one is always present- Returns:
- an extension to modify the generated code
-