About method level validation, what is the expected value for the attribute propertyPath (attribute of ConstraintViolation) when calling the method validateParameters ?
I've read appendix C - page 112 of bean_validation-1_0_CR1-pfd-spec.pdf - but didn't found anything).
<T> Set<ConstraintViolation<T>> validateParameters(Class<T> clazz, Method method, Object parameterValues, Class<?>... groups)For instance:
I have the method :
public void test (@NotNull String value)
if value is null, would I have :
. propertyPath=value (name of the parameter - I don't think this can be done at least with JSE 6)
. or propertyPath=0 (order of arguments)