java.lang.Object
io.helidon.service.codegen.ServiceDescriptorCodegen
Code generator of service descriptor for Helidon Services.
-
Method Summary
Modifier and TypeMethodDescriptionstatic ServiceDescriptorCodegen
When used from outside, we do not support interception This method is intended for types generated by a Maven plugin, that have limited functions.void
service
(TypeName generator, RegistryRoundContext roundCtx, Collection<TypeInfo> services, TypeInfo typeInfo) Describe a service type.
-
Method Details
-
create
When used from outside, we do not support interception This method is intended for types generated by a Maven plugin, that have limited functions.- Parameters:
ctx
- codegen context- Returns:
- a new codegen instance
-
service
public void service(TypeName generator, RegistryRoundContext roundCtx, Collection<TypeInfo> services, TypeInfo typeInfo) Describe a service type.- Parameters:
generator
- type of the generatorroundCtx
- round contextservices
- all types that are going to be describedtypeInfo
- type info of the service type
-