* - Currently validateType only takes a Class object, but I think we should have one for Type, too. Because a user may wish to define an expression for List<String> instead of raw List (e.g. an equivalent to SizeValidatorForCollection) - That's wrong actually, as a validator must only target non-generic types, raw types or unbounded wildcard types, all of which can be represented using the class literal * Currently there is no way to declare a cross-parameter constraint using a Lambda expression (as the supported validation target(s) is controlled via an annotation on ConstraintValidator implementations) |
|