sorry, my english is not better,and i use translation tools, there may be some confusion.
data class cannot get fields annotation by reflection, when annotation’s target contains java.lang.annotation.ElementType.PARAMETER
such as javax.validation.constraints.Min
So I can not use the hibernate-validator in data class.
Is there any way to solve this problem?