Uses of Interface
io.helidon.codegen.Option
Packages that use 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
Fields in io.helidon.codegen declared as OptionModifier 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).Methods in io.helidon.codegen that return OptionModifier 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.Methods in io.helidon.codegen that return types with arguments of type OptionModifier and TypeMethodDescriptionCodegen.supportedOptions()
Set of supported options by all extensions.CodegenContext.supportedOptions()
Codegen options supported by the mappers.CodegenContextBase.supportedOptions()
CodegenContextDelegate.supportedOptions()
Methods in io.helidon.codegen with parameters of type OptionModifier and TypeMethodDescriptiondefault boolean
Boolean option that defaults to false.Method parameters in io.helidon.codegen with type arguments of type OptionModifier and TypeMethodDescriptiondefault void
Validate options against the permitted options.Constructor parameters in io.helidon.codegen with type arguments of type OptionModifierConstructorDescriptionprotected
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
Method parameters in io.helidon.codegen.apt with type arguments of type OptionModifier 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
Methods in io.helidon.codegen.spi that return types with arguments of type OptionModifier and TypeMethodDescriptionCodegenProvider.supportedOptions()
Configuration options that are supported. -
Uses of Option in io.helidon.service.codegen
Methods in io.helidon.service.codegen that return types with arguments of type Option