Interface DefaultsCodegen.DefaultCode

Enclosing class:
DefaultsCodegen

public static interface DefaultsCodegen.DefaultCode
Information about a default element.
  • Method Summary

    Modifier and Type
    Method
    Description
    The default annotation.
    boolean
    If a io.helidon.common.mapper.Mappers instance is required to process this default.
    Type of the annotated element.
  • Method Details

    • requiresMapper

      boolean requiresMapper()
      If a io.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