@Target([AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY_GETTER, AnnotationTarget.PROPERTY_SETTER, AnnotationTarget.CLASS, AnnotationTarget.FILE]) class ConvertedBy
Annotates Option setters to indicate how the value is converted to the argument type.
Author
Clement Escoffier
ConvertedBy(value: KClass<out Converter<*>>)
Annotates Option setters to indicate how the value is converted to the argument type. |
val value: KClass<out Converter<*>>
The converter class used to transform the value as String to the target type. This converter is also used for the DefaultValue. |