Alright I'll implement it like that then, the API is already changed as
proposed (
https://github.com/gunnarmorling/hibernate-validator/blob/dcabe3141ae1c3aa07fdc2745a135e19a8188553/hibernate-validator/src/main/java/org/hibernate/validator/method/metadata/TypeDescriptor.java
)



>
>  For HV 4.2 we could also do the following:
>>>
>>> TypeDescriptor extends ElementDescriptor {
>>>
>>>    boolean isTypeConstrained();
>>>    Set<MethodDescriptor> getConstrainedMethods();
>>>    MethodDescriptor getConstraintsForMethod(Method method);
>>>
>>>    getBeanDescriptor();
>>> }
>>>
>>
> +1
>
_______________________________________________
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev

Reply via email to