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.
-
Uses of Option in io.helidon.codegen
Fields in io.helidon.codegen declared as OptionModifier and TypeFieldDescriptionCodegenOptions.CODEGEN_MODULECodegen option to configure module name of the module being processed.CodegenOptions.CODEGEN_PACKAGECodegen option to configure module name of the module being processed.static final Option<CodegenScope> CodegenOptions.CODEGEN_SCOPECodegen option to configure codegen scope.CodegenOptions.CREATE_META_INF_SERVICESCodegen option to configure creation of META-INF services when module-info.java is present.CodegenOptions.INDENT_COUNTCodegen option to configure how many times to repeat theCodegenOptions.INDENT_TYPEfor indentation.static final Option<IndentType> CodegenOptions.INDENT_TYPECodegen 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 booleanBoolean option that defaults to false.Method parameters in io.helidon.codegen with type arguments of type OptionModifier and TypeMethodDescriptiondefault voidValidate options against the permitted options.Constructor parameters in io.helidon.codegen with type arguments of type OptionModifierConstructorDescriptionprotectedCodegenContextBase(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 AptContextAptContext.create(ProcessingEnvironment env, Set<Option<?>> options) 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.