Module io.helidon.service.codegen
Package io.helidon.service.codegen
Interface RegistryCodegenContext
- All Superinterfaces:
CodegenContext
Codegen context adding methods suitable for Helidon Service Registry code generation.
-
Method Summary
Modifier and TypeMethodDescriptionstatic RegistryCodegenContext
create
(CodegenContext context) Create a new instance from an existing code generation context.descriptorType
(TypeName serviceType) Create a descriptor type for a service.Methods inherited from interface io.helidon.codegen.CodegenContext
annotationMappers, elementMappers, filer, logger, mapperSupportedAnnotationPackages, mapperSupportedAnnotations, module, moduleName, options, scope, supportedOptions, typeInfo, typeInfo, typeMappers, uniqueName
-
Method Details
-
create
Create a new instance from an existing code generation context.- Parameters:
context
- code generation context of the current code generation session- Returns:
- a new Helidon Service Registry code generation context
-
descriptorType
Create a descriptor type for a service.- Parameters:
serviceType
- type of the service- Returns:
- type of the service descriptor to be generated
-