Annotation Type ConvertedBy


@Retention(RUNTIME) @Target({METHOD,TYPE}) public @interface ConvertedBy
Annotates @Option setters to indicate how the value is converted to the argument type.
Author:
Clement Escoffier invalid input: '<'[email protected]>
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Class<? extends Converter<?>>
    The converter class used to transform the value as String to the target type.
  • Element Details

    • value

      Class<? extends Converter<?>> value
      The converter class used to transform the value as String to the target type. This converter is also used for the DefaultValue.