If a constraint which has a generic and a cross-parameter validator is applied to a method with return value and parameters, its target must be specified using the element validationAppliesTo.
For XML-configured constraints the target could be derived automatically, since the constraint is unambigiously specified either within the return-value or cross-parameter elements. Currently one has to specify a constraint like so in this case:
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira