Uses of Interface
io.helidon.codegen.Option
Package
Description
Code generation and processing support.
Implementation of codegen tools for Java annotation processing.
Service provider interfaces to extend code generation support.
Code generation for Helidon Service Registry.
-
Uses of Option in io.helidon.codegen
Modifier and TypeFieldDescriptionCodegenOptions.CODEGEN_MODULE
Codegen option to configure module name of the module being processed.CodegenOptions.CODEGEN_PACKAGE
Codegen option to configure module name of the module being processed.static final Option
<CodegenScope> CodegenOptions.CODEGEN_SCOPE
Codegen option to configure codegen scope.CodegenOptions.CREATE_META_INF_SERVICES
Codegen option to configure creation of META-INF services when module-info.java is present.CodegenOptions.INDENT_COUNT
Codegen option to configure how many times to repeat theCodegenOptions.INDENT_TYPE
for indentation.static final Option
<IndentType> CodegenOptions.INDENT_TYPE
Codegen option to configure which indent type to use (a space character, or a tab character).Modifier and TypeMethodDescriptionCreate a new boolean option.Create a new int option.Create a new String option.static <T> Option
<T> Option.create
(String name, String description, T defaultValue, Function<String, T> mapper, GenericType<T> type) Create a new option with a custom mapper.Option.createList
(String name, String description, List<T> defaultValue, Function<String, T> mapper, GenericType<List<T>> type) Create a new option that has a list of values, with a custom mapper.Option.createSet
(String name, String description, Set<T> defaultValue, Function<String, T> mapper, GenericType<Set<T>> type) Create a new option that has a set of values, with a custom mapper.Modifier and TypeMethodDescriptionCodegen.supportedOptions()
Set of supported options by all extensions.CodegenContext.supportedOptions()
Codegen options supported by the mappers.CodegenContextBase.supportedOptions()
CodegenContextDelegate.supportedOptions()
Modifier and TypeMethodDescriptiondefault boolean
Boolean option that defaults to false.Modifier and TypeMethodDescriptiondefault void
Validate options against the permitted options.ModifierConstructorDescriptionprotected
CodegenContextBase
(CodegenOptions options, Set<Option<?>> additionalOptions, CodegenFiler filer, CodegenLogger logger, CodegenScope scope) Create a new instance with the common parts of the API. -
Uses of Option in io.helidon.codegen.apt
Modifier and TypeMethodDescriptionstatic AptContext
AptContext.create
(ProcessingEnvironment env, Set<Option<?>> options) Deprecated, for removal: This API element is subject to removal in a future version.Create context from the processing environment, and a set of additional supported options. -
Uses of Option in io.helidon.codegen.spi
Modifier and TypeMethodDescriptionCodegenProvider.supportedOptions()
Configuration options that are supported. -
Uses of Option in io.helidon.service.codegen