Data class cannot get fields annotation by reflection, when annotation's target contains ElementType.PARAMETER


#1

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?


#2
@field:Min(100)
var test: Int

#3

thanks