Module io.helidon.service.codegen
Package io.helidon.service.codegen
Interface DefaultsCodegen.DefaultCode
- Enclosing class:
DefaultsCodegen
public static interface DefaultsCodegen.DefaultCode
Information about a default element.
-
Method Summary
Modifier and TypeMethodDescriptionThe default annotation.boolean
If aio.helidon.common.mapper.Mappers
instance is required to process this default.Type of the annotated element.
-
Method Details
-
requiresMapper
boolean requiresMapper()If aio.helidon.common.mapper.Mappers
instance is required to process this default.- Returns:
- if a mappers instance is needed
-
annotation
Annotation annotation()The default annotation.- Returns:
- annotation found on the element that defines a default value
-
targetType
TypeName targetType()Type of the annotated element.- Returns:
- type of the target for default
-