Version (2.18.0) appears to have support.
While converting the string-token (from the CSV file) to the field which was annotated by @DataField, the steps are as follow:
- If trim=true, trim the string-token
- If required and string-token is "", throw Exception
- Get the appropriate converter, based on the type of the field
- If string-token was NOT "" use the converter on the string-token
- else if a default-string was specified, use the converter on the default
- else if a java primitive (e.g. int) return an appropriate value (MIN)
- else return null
Version 2.18.0 introduces a new annotation @BindyConverter, allowing you to specify any class that adheres to the Format interface (effectively intercepting step #3, above)
A custom converter will allow you to read the default value and convert it according to your own requirements (in step #5 above). Your converter will also need to handle step #4, but this is trivial for Strings.