Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- addExport(String, String) - Method in class io.helidon.codegen.ModuleInfo.BuilderBase
-
Exports of the module.
- addExports(Map<? extends String, List<String>>) - Method in class io.helidon.codegen.ModuleInfo.BuilderBase
-
Exports of the module.
- addGeneratedType(TypeName, ClassModel.Builder, TypeName, Object...) - Method in interface io.helidon.codegen.RoundContext
-
Add a new class to be code generated.
- addObject(Object) - Method in class io.helidon.codegen.CodegenEvent.BuilderBase
-
Additional information, such as source elements.
- addObjects(List<?>) - Method in class io.helidon.codegen.CodegenEvent.BuilderBase
-
Additional information, such as source elements.
- addOpen(String, String) - Method in class io.helidon.codegen.ModuleInfo.BuilderBase
-
This method adds a new value to the map value, or creates a new value.
- addOpens(String, List<String>) - Method in class io.helidon.codegen.ModuleInfo.BuilderBase
-
This method adds a new value to the map value, or creates a new value.
- addOpens(Map<? extends String, List<String>>) - Method in class io.helidon.codegen.ModuleInfo.BuilderBase
-
This method keeps existing values, then puts all new values into the map.
- addProvide(TypeName, TypeName) - Method in class io.helidon.codegen.ModuleInfo.BuilderBase
-
This method adds a new value to the map value, or creates a new value.
- addProvides(TypeName, List<TypeName>) - Method in class io.helidon.codegen.ModuleInfo.BuilderBase
-
This method adds a new value to the map value, or creates a new value.
- addProvides(Map<? extends TypeName, List<TypeName>>) - Method in class io.helidon.codegen.ModuleInfo.BuilderBase
-
This method keeps existing values, then puts all new values into the map.
- addRequire(ModuleInfoRequires) - Method in class io.helidon.codegen.ModuleInfo.BuilderBase
-
Declared dependencies of the module.
- addRequires(List<? extends ModuleInfoRequires>) - Method in class io.helidon.codegen.ModuleInfo.BuilderBase
-
Declared dependencies of the module.
- addUse(TypeName) - Method in class io.helidon.codegen.ModuleInfo.BuilderBase
-
Used service loader providers.
- addUse(Consumer<TypeName.Builder>) - Method in class io.helidon.codegen.ModuleInfo.BuilderBase
-
Used service loader providers.
- addUses(List<? extends TypeName>) - Method in class io.helidon.codegen.ModuleInfo.BuilderBase
-
Used service loader providers.
- ALL_PREDICATE - Static variable in class io.helidon.codegen.ElementInfoPredicates
-
A predicate that accepts all.
- annotatedElements(TypeName) - Method in interface io.helidon.codegen.RoundContext
-
All elements annotated with a specific annotation.
- annotatedTypes(TypeName) - Method in interface io.helidon.codegen.RoundContext
-
All types annotated with a specific annotation.
- annotationFilter(Annotation) - Static method in class io.helidon.codegen.TypeInfoFactoryBase
-
A filter for annotations to exclude ones we are not interested in (
SuppressWarnings,Override,Target,Retention,Repeatable. - AnnotationMapper - Interface in io.helidon.codegen.spi
-
Maps annotation from a single annotation instance to zero or more annotation instances.
- AnnotationMapperProvider - Interface in io.helidon.codegen.spi
-
ServiceLoaderprovider interface for annotation mapping. - annotationMappers() - Method in interface io.helidon.codegen.CodegenContext
-
List of available annotation mappers in this environment.
- annotationMappers() - Method in class io.helidon.codegen.CodegenContextBase
- annotationMappers() - Method in class io.helidon.codegen.CodegenContextDelegate
- asList(String) - Method in interface io.helidon.codegen.CodegenOptions
-
List of string options.
- asSet(String) - Method in interface io.helidon.codegen.CodegenOptions
-
Set of string options.
- availableAnnotations() - Method in interface io.helidon.codegen.RoundContext
-
Annotations available in this round, the collection contains only annotations valid for the extension being invoked.
B
- build() - Method in class io.helidon.codegen.CodegenEvent.Builder
- build() - Method in class io.helidon.codegen.ModuleInfo.Builder
- builder() - Static method in interface io.helidon.codegen.CodegenEvent
-
Create a new fluent API builder to customize configuration.
- builder() - Static method in interface io.helidon.codegen.ModuleInfo
-
Create a new fluent API builder to customize configuration.
- builder(CodegenEvent) - Static method in interface io.helidon.codegen.CodegenEvent
-
Create a new fluent API builder from an existing instance.
- builder(ModuleInfo) - Static method in interface io.helidon.codegen.ModuleInfo
-
Create a new fluent API builder from an existing instance.
- BuilderBase() - Constructor for class io.helidon.codegen.CodegenEvent.BuilderBase
-
Protected to support extensibility.
- BuilderBase() - Constructor for class io.helidon.codegen.ModuleInfo.BuilderBase
-
Protected to support extensibility.
C
- capitalize(String) - Static method in class io.helidon.codegen.CodegenUtil
-
Capitalize the first letter of the provided string.
- character() - Method in enum class io.helidon.codegen.IndentType
-
Indentation character to use.
- ClassCode - Record Class in io.helidon.codegen
-
A code generated type.
- ClassCode(TypeName, ClassModel.Builder, TypeName, Object...) - Constructor for record class io.helidon.codegen.ClassCode
-
Creates an instance of a
ClassCoderecord class. - classModel() - Method in record class io.helidon.codegen.ClassCode
-
Returns the value of the
classModelrecord component. - clearThrowable() - Method in class io.helidon.codegen.CodegenEvent.BuilderBase
-
Clear existing value of this property.
- Codegen - Class in io.helidon.codegen
-
Central piece of code processing and generation.
- CODEGEN_MODULE - Static variable in interface io.helidon.codegen.CodegenOptions
-
Codegen option to configure module name of the module being processed.
- CODEGEN_PACKAGE - Static variable in interface io.helidon.codegen.CodegenOptions
-
Codegen option to configure module name of the module being processed.
- CODEGEN_SCOPE - Static variable in interface io.helidon.codegen.CodegenOptions
-
Codegen option to configure codegen scope.
- CodegenContext - Interface in io.helidon.codegen
-
Code processing and generation context.
- CodegenContextBase - Class in io.helidon.codegen
-
Base of codegen context implementation taking care of the common parts of the API.
- CodegenContextBase(CodegenOptions, Set<Option<?>>, CodegenFiler, CodegenLogger, CodegenScope) - Constructor for class io.helidon.codegen.CodegenContextBase
-
Create a new instance with the common parts of the API.
- CodegenContextDelegate - Class in io.helidon.codegen
-
Base of codegen context implementation that delegates common parts of the API to an existing instance.
- CodegenContextDelegate(CodegenContext) - Constructor for class io.helidon.codegen.CodegenContextDelegate
-
Create a new instance delegating all calls to the delegate.
- CodegenEvent - Interface in io.helidon.codegen
-
An event happening during code gen to be logged with
CodegenLogger.log(CodegenEvent). - CodegenEvent.Builder - Class in io.helidon.codegen
-
Fluent API builder for
CodegenEvent. - CodegenEvent.BuilderBase<BUILDER> - Class in io.helidon.codegen
-
Fluent API builder base for
CodegenEvent. - CodegenEvent.BuilderBase.CodegenEventImpl - Class in io.helidon.codegen
-
Generated implementation of the prototype, can be extended by descendant prototype implementations.
- CodegenEventImpl(CodegenEvent.BuilderBase<?>) - Constructor for class io.helidon.codegen.CodegenEvent.BuilderBase.CodegenEventImpl
-
Create an instance providing a builder.
- CodegenException - Exception Class in io.helidon.codegen
-
An exception for any code processing and generation tools.
- CodegenException(String) - Constructor for exception class io.helidon.codegen.CodegenException
-
Constructor with a message.
- CodegenException(String, Object) - Constructor for exception class io.helidon.codegen.CodegenException
-
Constructor with a message and an originating element.
- CodegenException(String, Throwable) - Constructor for exception class io.helidon.codegen.CodegenException
-
Constructor with a message and a cause.
- CodegenException(String, Throwable, Object) - Constructor for exception class io.helidon.codegen.CodegenException
-
Constructor with a message, cause, and an originating element.
- CodegenExtension - Interface in io.helidon.codegen.spi
-
Code processing and generation extension.
- CodegenExtensionProvider - Interface in io.helidon.codegen.spi
-
Java
ServiceLoaderprovider interface for extensions used to process and code generate. - CodegenFiler - Interface in io.helidon.codegen
-
An abstraction for writing out source files and resource files.
- CodegenLogger - Interface in io.helidon.codegen
-
An abstraction for logging code processing and generation events.
- CodegenOptions - Interface in io.helidon.codegen
-
Configuration options.
- CodegenProvider - Interface in io.helidon.codegen.spi
-
A provider that is capable of processing types.
- CodegenScope - Record Class in io.helidon.codegen
-
Scope of the current code generation session.
- CodegenScope(String) - Constructor for record class io.helidon.codegen.CodegenScope
-
Creates an instance of a
CodegenScoperecord class. - CodegenUtil - Class in io.helidon.codegen
-
Tools for generating code.
- copyright(TypeName, TypeName, TypeName) - Static method in class io.helidon.codegen.CodegenUtil
-
Provides copyright header to be added before package declaration.
- copyright(TypeName, TypeName, TypeName) - Method in interface io.helidon.codegen.spi.CopyrightProvider
-
Create a copyright header, including comment begin/end, or line comments.
- CopyrightProvider - Interface in io.helidon.codegen.spi
-
Extension point to customize copyright headers for generated types.
- create(CodegenContext, TypeName) - Static method in class io.helidon.codegen.Codegen
-
Create a new instance of the top level Codegen.
- create(CodegenContext, TypeName) - Method in interface io.helidon.codegen.spi.CodegenExtensionProvider
-
Create a new instance of the extension provider.
- create(CodegenOptions) - Method in interface io.helidon.codegen.spi.AnnotationMapperProvider
-
Create an annotation mapper based on provided options.
- create(CodegenOptions) - Method in interface io.helidon.codegen.spi.ElementMapperProvider
-
Create an element mapper based on provided options.
- create(CodegenOptions) - Method in interface io.helidon.codegen.spi.TypeMapperProvider
-
Create a type mapper based on provided options.
- create(TypeName, TypeName, TypeName, String, String) - Method in interface io.helidon.codegen.spi.GeneratedAnnotationProvider
-
Create a generated annotation.
- create(String, String, boolean) - Static method in interface io.helidon.codegen.Option
-
Create a new boolean option.
- create(String, String, int) - Static method in interface io.helidon.codegen.Option
-
Create a new int option.
- create(String, String, String) - Static method in interface io.helidon.codegen.Option
-
Create a new String option.
- create(String, String, T, Function<String, T>, GenericType<T>) - Static method in interface io.helidon.codegen.Option
-
Create a new option with a custom mapper.
- create(System.Logger) - Static method in interface io.helidon.codegen.CodegenLogger
-
Create a new logger backed by
System.Logger. - CREATE_META_INF_SERVICES - Static variable in interface io.helidon.codegen.CodegenOptions
-
Codegen option to configure creation of META-INF services when module-info.java is present.
- createList(String, String, List<T>, Function<String, T>, GenericType<List<T>>) - Static method in interface io.helidon.codegen.Option
-
Create a new option that has a list of values, with a custom mapper.
- createSet(String, String, Set<T>, Function<String, T>, GenericType<Set<T>>) - Static method in interface io.helidon.codegen.Option
-
Create a new option that has a set of values, with a custom mapper.
D
- DEFAULT_MODULE_NAME - Static variable in interface io.helidon.codegen.ModuleInfo
-
The default module name (i.e., "unnamed").
- defaultValue() - Method in interface io.helidon.codegen.Option
-
Default to use if the option is not defined.
- description() - Method in interface io.helidon.codegen.Option
-
Option description, metadata that can be used to list available options and their description.
E
- ElementInfoPredicates - Class in io.helidon.codegen
-
Commonly used predicates to filter typed element info.
- ElementMapper - Interface in io.helidon.codegen.spi
-
Maps (or removes) elements.
- ElementMapperProvider - Interface in io.helidon.codegen.spi
-
ServiceLoaderprovider interface for element mapping. - elementMappers() - Method in interface io.helidon.codegen.CodegenContext
-
List of available element mappers in this environment.
- elementMappers() - Method in class io.helidon.codegen.CodegenContextBase
- elementMappers() - Method in class io.helidon.codegen.CodegenContextDelegate
- elementName(String) - Static method in class io.helidon.codegen.ElementInfoPredicates
-
Predicate for element name (such as method name, or field name).
- enabled(Option<Boolean>) - Method in interface io.helidon.codegen.CodegenOptions
-
Boolean option that defaults to false.
- equals(Object) - Method in record class io.helidon.codegen.ClassCode
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class io.helidon.codegen.CodegenEvent.BuilderBase.CodegenEventImpl
- equals(Object) - Method in record class io.helidon.codegen.CodegenScope
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class io.helidon.codegen.ModuleInfo.BuilderBase.ModuleInfoImpl
- equals(Object) - Method in record class io.helidon.codegen.ModuleInfoRequires
-
Indicates whether some other object is "equal to" this one.
- exports() - Method in class io.helidon.codegen.ModuleInfo.BuilderBase
-
Exports of the module.
- exports() - Method in class io.helidon.codegen.ModuleInfo.BuilderBase.ModuleInfoImpl
- exports() - Method in interface io.helidon.codegen.ModuleInfo
-
Exports of the module.
- exports(Map<? extends String, List<String>>) - Method in class io.helidon.codegen.ModuleInfo.BuilderBase
-
Exports of the module.
F
- FILE_NAME - Static variable in interface io.helidon.codegen.ModuleInfo
-
The file name in sources ("module-info.java").
- filer() - Method in interface io.helidon.codegen.CodegenContext
-
Filer to generate sources and resources.
- filer() - Method in class io.helidon.codegen.CodegenContextBase
- filer() - Method in class io.helidon.codegen.CodegenContextDelegate
- findValue(CodegenOptions) - Method in interface io.helidon.codegen.Option
-
Find an option value from the codegen options.
- firstUnqualifiedExport() - Method in interface io.helidon.codegen.ModuleInfo
-
first export that does not export to a specific module (if present).
- from(CodegenEvent) - Method in class io.helidon.codegen.CodegenEvent.BuilderBase
-
Update this builder from an existing prototype instance.
- from(CodegenEvent.BuilderBase<?>) - Method in class io.helidon.codegen.CodegenEvent.BuilderBase
-
Update this builder from an existing prototype builder instance.
- from(ModuleInfo) - Method in class io.helidon.codegen.ModuleInfo.BuilderBase
-
Update this builder from an existing prototype instance.
- from(ModuleInfo.BuilderBase<?>) - Method in class io.helidon.codegen.ModuleInfo.BuilderBase
-
Update this builder from an existing prototype builder instance.
G
- generatedAnnotation(TypeName, TypeName, TypeName, String, String) - Static method in class io.helidon.codegen.CodegenUtil
-
Create a generated annotation.
- GeneratedAnnotationProvider - Interface in io.helidon.codegen.spi
-
Service provider interface to provide customization of generated annotation.
- generatedType(TypeName) - Method in interface io.helidon.codegen.RoundContext
-
Class model builder for a type that is to be code generated.
H
- hasAnnotation(TypeName) - Static method in class io.helidon.codegen.ElementInfoPredicates
-
Predicate for an existence of an annotation.
- hashCode() - Method in record class io.helidon.codegen.ClassCode
-
Returns a hash code value for this object.
- hashCode() - Method in class io.helidon.codegen.CodegenEvent.BuilderBase.CodegenEventImpl
- hashCode() - Method in record class io.helidon.codegen.CodegenScope
-
Returns a hash code value for this object.
- hashCode() - Method in class io.helidon.codegen.ModuleInfo.BuilderBase.ModuleInfoImpl
- hashCode() - Method in record class io.helidon.codegen.ModuleInfoRequires
-
Returns a hash code value for this object.
- hasNoArgs(TypedElementInfo) - Static method in class io.helidon.codegen.ElementInfoPredicates
-
Predicate for element with no arguments (suitable for methods).
- hasParams(TypeName...) - Static method in class io.helidon.codegen.ElementInfoPredicates
-
Predicate for element with the specified parameters types (suitable for methods).
- hasParams(List<TypeName>) - Static method in class io.helidon.codegen.ElementInfoPredicates
-
Predicate for element with the specified parameters types (suitable for methods).
I
- INDENT_COUNT - Static variable in interface io.helidon.codegen.CodegenOptions
-
Codegen option to configure how many times to repeat the
CodegenOptions.INDENT_TYPEfor indentation. - INDENT_TYPE - Static variable in interface io.helidon.codegen.CodegenOptions
-
Codegen option to configure which indent type to use (a space character, or a tab character).
- IndentType - Enum Class in io.helidon.codegen
-
Indentation kind.
- io.helidon.codegen - module io.helidon.codegen
-
Utilities for code generation.
- io.helidon.codegen - package io.helidon.codegen
-
Code generation and processing support.
- io.helidon.codegen.spi - package io.helidon.codegen.spi
-
Service provider interfaces to extend code generation support.
- isBuiltInJavaType(TypeName) - Static method in class io.helidon.codegen.TypeInfoFactoryBase
-
Check if the provided type is either a primitive type, or is from the
javapackage namespace. - isDefault(TypedElementInfo) - Static method in class io.helidon.codegen.ElementInfoPredicates
-
Predicate for default modifier (default methods on interfaces).
- isField(TypedElementInfo) - Static method in class io.helidon.codegen.ElementInfoPredicates
-
Predicate for field element kind.
- isMethod(TypedElementInfo) - Static method in class io.helidon.codegen.ElementInfoPredicates
-
Predicate for method element kind.
- isOpen() - Method in class io.helidon.codegen.ModuleInfo.BuilderBase
-
Whether this module is declared as open module.
- isOpen() - Method in class io.helidon.codegen.ModuleInfo.BuilderBase.ModuleInfoImpl
- isOpen() - Method in interface io.helidon.codegen.ModuleInfo
-
Whether this module is declared as open module.
- isOpen(boolean) - Method in class io.helidon.codegen.ModuleInfo.BuilderBase
-
Whether this module is declared as open module.
- isPrivate(TypedElementInfo) - Static method in class io.helidon.codegen.ElementInfoPredicates
-
Predicate for private modifier.
- isProduction() - Method in record class io.helidon.codegen.CodegenScope
-
Whether this is a production scope.
- isPublic(TypedElementInfo) - Static method in class io.helidon.codegen.ElementInfoPredicates
-
Predicate for public modifier.
- isStatic() - Method in record class io.helidon.codegen.ModuleInfoRequires
-
Returns the value of the
isStaticrecord component. - isStatic(TypedElementInfo) - Static method in class io.helidon.codegen.ElementInfoPredicates
-
Predicate for static modifier.
- isTransitive() - Method in record class io.helidon.codegen.ModuleInfoRequires
-
Returns the value of the
isTransitiverecord component. - isVoid(TypedElementInfo) - Static method in class io.helidon.codegen.ElementInfoPredicates
-
Predicate for void methods.
L
- level() - Method in class io.helidon.codegen.CodegenEvent.BuilderBase.CodegenEventImpl
- level() - Method in class io.helidon.codegen.CodegenEvent.BuilderBase
-
Level can be used directly (command line tools), mapped to Maven level (maven plugins), or mapped to diagnostics kind (annotation processing).
- level() - Method in interface io.helidon.codegen.CodegenEvent
-
Level can be used directly (command line tools), mapped to Maven level (maven plugins), or mapped to diagnostics kind (annotation processing).
- level(System.Logger.Level) - Method in class io.helidon.codegen.CodegenEvent.BuilderBase
-
Level can be used directly (command line tools), mapped to Maven level (maven plugins), or mapped to diagnostics kind (annotation processing).
- log(CodegenEvent) - Method in interface io.helidon.codegen.CodegenLogger
-
Log a new codegen event.
- log(System.Logger.Level, String) - Method in interface io.helidon.codegen.CodegenLogger
-
Log a new codegen (simple) event.
- logger() - Method in interface io.helidon.codegen.CodegenContext
-
Logger to log messages according to the environment we run in (Annotation processor, Maven plugin, command line).
- logger() - Method in class io.helidon.codegen.CodegenContextBase
- logger() - Method in class io.helidon.codegen.CodegenContextDelegate
M
- mainTrigger() - Method in record class io.helidon.codegen.ClassCode
-
Returns the value of the
mainTriggerrecord component. - map(CodegenContext, TypeInfo) - Method in interface io.helidon.codegen.spi.TypeMapper
-
Map the original type to a different type, or remove it from processing.
- mapAnnotation(CodegenContext, Annotation, ElementKind) - Method in interface io.helidon.codegen.spi.AnnotationMapper
-
Map an annotation to a set of new annotations.
- mapAnnotation(CodegenContext, Annotation, ElementKind) - Static method in class io.helidon.codegen.TypeInfoFactoryBase
-
Map an annotation using context type mappers.
- mapElement(CodegenContext, TypedElementInfo) - Method in interface io.helidon.codegen.spi.ElementMapper
-
Map an element to a different element (changing any of its properties), or remove the element.
- mapElement(CodegenContext, TypedElementInfo) - Static method in class io.helidon.codegen.TypeInfoFactoryBase
-
Map an element using context type mappers.
- mapperSupportedAnnotationPackages() - Method in interface io.helidon.codegen.CodegenContext
-
Annotation packages supported by the mappers.
- mapperSupportedAnnotationPackages() - Method in class io.helidon.codegen.CodegenContextBase
- mapperSupportedAnnotationPackages() - Method in class io.helidon.codegen.CodegenContextDelegate
- mapperSupportedAnnotations() - Method in interface io.helidon.codegen.CodegenContext
-
Annotations supported by the mappers.
- mapperSupportedAnnotations() - Method in class io.helidon.codegen.CodegenContextBase
- mapperSupportedAnnotations() - Method in class io.helidon.codegen.CodegenContextDelegate
- mapType(CodegenContext, TypeInfo) - Static method in class io.helidon.codegen.TypeInfoFactoryBase
-
Map a type using context type mappers.
- message() - Method in class io.helidon.codegen.CodegenEvent.BuilderBase.CodegenEventImpl
- message() - Method in class io.helidon.codegen.CodegenEvent.BuilderBase
-
Message to be delivered to the user.
- message() - Method in interface io.helidon.codegen.CodegenEvent
-
Message to be delivered to the user.
- message(String) - Method in class io.helidon.codegen.CodegenEvent.BuilderBase
-
Message to be delivered to the user.
- modifiers(CodegenContext, Set<String>) - Static method in class io.helidon.codegen.TypeInfoFactoryBase
-
Map a string representation of a modifier to its Helidon counterpart.
- module() - Method in interface io.helidon.codegen.CodegenContext
-
Module that is being processed.
- module() - Method in class io.helidon.codegen.CodegenContextDelegate
- module() - Method in record class io.helidon.codegen.ModuleInfoRequires
-
Returns the value of the
modulerecord component. - ModuleInfo - Interface in io.helidon.codegen
-
Module info.
- ModuleInfo.Builder - Class in io.helidon.codegen
-
Fluent API builder for
ModuleInfo. - ModuleInfo.BuilderBase<BUILDER> - Class in io.helidon.codegen
-
Fluent API builder base for
ModuleInfo. - ModuleInfo.BuilderBase.ModuleInfoImpl - Class in io.helidon.codegen
-
Generated implementation of the prototype, can be extended by descendant prototype implementations.
- ModuleInfoImpl(ModuleInfo.BuilderBase<?>) - Constructor for class io.helidon.codegen.ModuleInfo.BuilderBase.ModuleInfoImpl
-
Create an instance providing a builder.
- ModuleInfoRequires - Record Class in io.helidon.codegen
-
A requires definition of a module-info.java.
- ModuleInfoRequires(String, boolean, boolean) - Constructor for record class io.helidon.codegen.ModuleInfoRequires
-
Creates an instance of a
ModuleInfoRequiresrecord class. - ModuleInfoSourceParser - Class in io.helidon.codegen
-
Support for parsing module-info.java sources.
- moduleName() - Method in interface io.helidon.codegen.CodegenContext
-
Configured module name using
CodegenOptions.CODEGEN_MODULE, or name of the module if defined fromCodegenContext.module(), or empty if not identified.
N
- name() - Method in record class io.helidon.codegen.CodegenScope
-
Returns the value of the
namerecord component. - name() - Method in class io.helidon.codegen.ModuleInfo.BuilderBase.ModuleInfoImpl
- name() - Method in class io.helidon.codegen.ModuleInfo.BuilderBase
-
Name of the module.
- name() - Method in interface io.helidon.codegen.ModuleInfo
-
Name of the module.
- name() - Method in interface io.helidon.codegen.Option
-
Name of the option.
- name(String) - Method in class io.helidon.codegen.ModuleInfo.BuilderBase
-
Name of the module.
- newType() - Method in record class io.helidon.codegen.ClassCode
-
Returns the value of the
newTyperecord component.
O
- objects() - Method in class io.helidon.codegen.CodegenEvent.BuilderBase.CodegenEventImpl
- objects() - Method in class io.helidon.codegen.CodegenEvent.BuilderBase
-
Additional information, such as source elements.
- objects() - Method in interface io.helidon.codegen.CodegenEvent
-
Additional information, such as source elements.
- objects(List<?>) - Method in class io.helidon.codegen.CodegenEvent.BuilderBase
-
Additional information, such as source elements.
- opens() - Method in class io.helidon.codegen.ModuleInfo.BuilderBase.ModuleInfoImpl
- opens() - Method in class io.helidon.codegen.ModuleInfo.BuilderBase
-
Map of opened packages to modules (if any).
- opens() - Method in interface io.helidon.codegen.ModuleInfo
-
Map of opened packages to modules (if any).
- opens(Map<? extends String, List<String>>) - Method in class io.helidon.codegen.ModuleInfo.BuilderBase
-
This method replaces all values with the new ones.
- option(String) - Method in interface io.helidon.codegen.CodegenOptions
-
Find an option.
- option(String, T, Class<T>) - Method in interface io.helidon.codegen.CodegenOptions
-
Enumeration option.
- Option<T> - Interface in io.helidon.codegen
-
Option definition.
- options() - Method in interface io.helidon.codegen.CodegenContext
-
Code generation options.
- options() - Method in class io.helidon.codegen.CodegenContextBase
- options() - Method in class io.helidon.codegen.CodegenContextDelegate
- originatingElement() - Method in exception class io.helidon.codegen.CodegenException
-
Originating element.
- originatingElements() - Method in record class io.helidon.codegen.ClassCode
-
Returns the value of the
originatingElementsrecord component.
P
- parse(InputStream) - Static method in class io.helidon.codegen.ModuleInfoSourceParser
-
Parse the module info from its input stream.
- parse(Path) - Static method in class io.helidon.codegen.ModuleInfoSourceParser
-
Parse the module info from its source file.
- preBuildPrototype() - Method in class io.helidon.codegen.CodegenEvent.BuilderBase
-
Handles providers and decorators.
- preBuildPrototype() - Method in class io.helidon.codegen.ModuleInfo.BuilderBase
-
Handles providers and decorators.
- prefix() - Method in record class io.helidon.codegen.CodegenScope
-
Type prefix for this scope.
- process(RoundContext) - Method in interface io.helidon.codegen.spi.CodegenExtension
-
Process a round of code analysis and generation.
- process(List<TypeInfo>) - Method in class io.helidon.codegen.Codegen
-
Process all types discovered.
- processingOver() - Method in class io.helidon.codegen.Codegen
-
Finish processing.
- processingOver(RoundContext) - Method in interface io.helidon.codegen.spi.CodegenExtension
-
Processing has finished, any finalization can be done.
- PRODUCTION - Static variable in record class io.helidon.codegen.CodegenScope
-
Production scope.
- provides() - Method in class io.helidon.codegen.ModuleInfo.BuilderBase.ModuleInfoImpl
- provides() - Method in class io.helidon.codegen.ModuleInfo.BuilderBase
-
Map of provider interfaces to provider implementations provided by this module.
- provides() - Method in interface io.helidon.codegen.ModuleInfo
-
Map of provider interfaces to provider implementations provided by this module.
- provides(Map<? extends TypeName, List<TypeName>>) - Method in class io.helidon.codegen.ModuleInfo.BuilderBase
-
This method replaces all values with the new ones.
- putExports(String, List<String>) - Method in class io.helidon.codegen.ModuleInfo.BuilderBase
-
This method adds a new value to the map, or replaces it if the key already exists.
- putOpen(String, List<String>) - Method in class io.helidon.codegen.ModuleInfo.BuilderBase
-
This method adds a new value to the map, or replaces it if the key already exists.
- putProvide(TypeName, List<TypeName>) - Method in class io.helidon.codegen.ModuleInfo.BuilderBase
-
This method adds a new value to the map, or replaces it if the key already exists.
R
- requires() - Method in class io.helidon.codegen.ModuleInfo.BuilderBase.ModuleInfoImpl
- requires() - Method in class io.helidon.codegen.ModuleInfo.BuilderBase
-
Declared dependencies of the module.
- requires() - Method in interface io.helidon.codegen.ModuleInfo
-
Declared dependencies of the module.
- requires(List<? extends ModuleInfoRequires>) - Method in class io.helidon.codegen.ModuleInfo.BuilderBase
-
Declared dependencies of the module.
- RoundContext - Interface in io.helidon.codegen
-
Context of a single round of code generation.
S
- scope() - Method in interface io.helidon.codegen.CodegenContext
-
Current code generation scope.
- scope() - Method in class io.helidon.codegen.CodegenContextBase
- scope() - Method in class io.helidon.codegen.CodegenContextDelegate
- services(TypeName, TypeName, List<TypeName>, Object...) - Method in interface io.helidon.codegen.CodegenFiler
-
Write a
META-INF/servicesfile for a specific provider interface and implementation(s). - SPACE - Enum constant in enum class io.helidon.codegen.IndentType
-
Use spaces to indent generated source code.
- supportedAnnotationPackagePrefixes() - Method in class io.helidon.codegen.Codegen
-
A set of package prefixes (expected to end with a
.). - supportedAnnotationPackages() - Method in interface io.helidon.codegen.spi.CodegenProvider
-
Supported packages of annotations.
- supportedAnnotations() - Method in class io.helidon.codegen.Codegen
-
A set of annotation types.
- supportedAnnotations() - Method in interface io.helidon.codegen.spi.CodegenProvider
-
Annotations that are supported.
- supportedOptions() - Static method in class io.helidon.codegen.Codegen
-
Set of supported options by all extensions.
- supportedOptions() - Method in interface io.helidon.codegen.CodegenContext
-
Codegen options supported by the mappers.
- supportedOptions() - Method in class io.helidon.codegen.CodegenContextBase
- supportedOptions() - Method in class io.helidon.codegen.CodegenContextDelegate
- supportedOptions() - Method in interface io.helidon.codegen.spi.CodegenProvider
-
Configuration options that are supported.
- supportsAnnotation(Annotation) - Method in interface io.helidon.codegen.spi.AnnotationMapper
-
Check if the annotation is supported.
- supportsElement(TypedElementInfo) - Method in interface io.helidon.codegen.spi.ElementMapper
-
Check if the element is supported.
- supportsType(TypeInfo) - Method in interface io.helidon.codegen.spi.TypeMapper
-
Check if the type is supported.
T
- TAB - Enum constant in enum class io.helidon.codegen.IndentType
-
Use tabulators to indent generated source code.
- TAG_CODEGEN_MODULE - Static variable in interface io.helidon.codegen.CodegenOptions
-
Tag to define custom module name.
- TAG_CODEGEN_PACKAGE - Static variable in interface io.helidon.codegen.CodegenOptions
-
Tag to define custom package name.
- throwable() - Method in class io.helidon.codegen.CodegenEvent.BuilderBase.CodegenEventImpl
- throwable() - Method in class io.helidon.codegen.CodegenEvent.BuilderBase
-
Throwable if available.
- throwable() - Method in interface io.helidon.codegen.CodegenEvent
-
Throwable if available.
- throwable(Throwable) - Method in class io.helidon.codegen.CodegenEvent.BuilderBase
-
Throwable if available.
- toConstantName(String) - Static method in class io.helidon.codegen.CodegenUtil
-
Create a constant field for a name of an element.
- toEvent(System.Logger.Level) - Method in exception class io.helidon.codegen.CodegenException
-
Create a codegen event to log with
CodegenLogger.log(CodegenEvent). - toEvent(System.Logger.Level, String) - Method in exception class io.helidon.codegen.CodegenException
-
Create a codegen event to log with
CodegenLogger.log(CodegenEvent). - toString() - Method in record class io.helidon.codegen.ClassCode
-
Returns a string representation of this record class.
- toString() - Method in class io.helidon.codegen.CodegenEvent.BuilderBase.CodegenEventImpl
- toString() - Method in class io.helidon.codegen.CodegenEvent.BuilderBase
- toString() - Method in record class io.helidon.codegen.CodegenScope
-
Returns a string representation of this record class.
- toString() - Method in class io.helidon.codegen.ModuleInfo.BuilderBase.ModuleInfoImpl
- toString() - Method in class io.helidon.codegen.ModuleInfo.BuilderBase
- toString() - Method in record class io.helidon.codegen.ModuleInfoRequires
-
Returns a string representation of this record class.
- type() - Method in interface io.helidon.codegen.Option
-
Type of the option, metadata that can be used to list available options and their types.
- typeInfo(TypeName) - Method in interface io.helidon.codegen.CodegenContext
-
Discover information about the provided type.
- typeInfo(TypeName) - Method in class io.helidon.codegen.CodegenContextDelegate
- typeInfo(TypeName, Predicate<TypedElementInfo>) - Method in interface io.helidon.codegen.CodegenContext
-
Discover information about the provided type, with a predicate for child elements.
- typeInfo(TypeName, Predicate<TypedElementInfo>) - Method in class io.helidon.codegen.CodegenContextDelegate
- TypeInfoFactoryBase - Class in io.helidon.codegen
-
Common code for type info factories.
- TypeInfoFactoryBase() - Constructor for class io.helidon.codegen.TypeInfoFactoryBase
-
There are no side effects of this constructor.
- TypeMapper - Interface in io.helidon.codegen.spi
- TypeMapperProvider - Interface in io.helidon.codegen.spi
-
ServiceLoaderprovider interface for type mapping. - typeMappers() - Method in interface io.helidon.codegen.CodegenContext
-
List of available type mappers in this environment.
- typeMappers() - Method in class io.helidon.codegen.CodegenContextBase
- typeMappers() - Method in class io.helidon.codegen.CodegenContextDelegate
- types() - Method in interface io.helidon.codegen.RoundContext
-
All types that are processed in this round.
U
- uses() - Method in class io.helidon.codegen.ModuleInfo.BuilderBase.ModuleInfoImpl
- uses() - Method in class io.helidon.codegen.ModuleInfo.BuilderBase
-
Used service loader providers.
- uses() - Method in interface io.helidon.codegen.ModuleInfo
-
Used service loader providers.
- uses(List<? extends TypeName>) - Method in class io.helidon.codegen.ModuleInfo.BuilderBase
-
Used service loader providers.
V
- validate(Set<Option<?>>) - Method in interface io.helidon.codegen.CodegenOptions
-
Validate options against the permitted options.
- validatePrototype() - Method in class io.helidon.codegen.CodegenEvent.BuilderBase
-
Validates required properties.
- validatePrototype() - Method in class io.helidon.codegen.ModuleInfo.BuilderBase
-
Validates required properties.
- value(CodegenOptions) - Method in interface io.helidon.codegen.Option
-
Obtain an option value from the codegen options using
Option.defaultValue()if none configured. - valueOf(String) - Static method in enum class io.helidon.codegen.IndentType
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class io.helidon.codegen.IndentType
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- writeResource(byte[], String, Object...) - Method in interface io.helidon.codegen.CodegenFiler
-
Write a resource file.
- writeSourceFile(ClassModel, Object...) - Method in interface io.helidon.codegen.CodegenFiler
-
Write a source file from its
ClassModel.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form