[bv-dev] Distinguishing cross-parameter and generic constraints

Gunnar Morling gunnar at hibernate.org
Tue Jan 15 04:56:28 EST 2013


Hi Matt,

2013/1/11 Matt Benson <mbenson at apache.org>

> I'm less enthralled with another "magic" annotation element name, but I
> don't have a better idea at the moment either.


Yes, it's too bad one can't define interfaces for annotations. Constraint
correctness can still be checked at compile time using an annotation
processor or similar, but as you say these annotation member names are
somewhat implicit.

--Gunnar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/beanvalidation-dev/attachments/20130115/1b609b15/attachment.html 


More information about the beanvalidation-dev mailing list