[hibernate-issues] [Hibernate-JIRA] Created: (HV-436) The annotation processor should check @GroupSequenceProvider
Gunnar Morling (JIRA)
noreply at atlassian.com
Wed Feb 16 16:26:05 EST 2011
The annotation processor should check @GroupSequenceProvider
------------------------------------------------------------
Key: HV-436
URL: http://opensource.atlassian.com/projects/hibernate/browse/HV-436
Project: Hibernate Validator
Issue Type: New Feature
Components: annotation-processor
Reporter: Gunnar Morling
Fix For: 4.x
The AP should check whether the sequence provider given for a type using @GroupSequenceProvider is parametrized with that same type. To extend the AP with new annotation checks as this one, the following has to be done:
* create a new implementation of [ConstraintCheck|https://github.com/hibernate/hibernate-validator/blob/master/hibernate-validator-annotation-processor/src/main/java/org/hibernate/validator/ap/checks/ConstraintCheck.java]
* register it with [ConstraintCheckFactory|https://github.com/hibernate/hibernate-validator/blob/master/hibernate-validator-annotation-processor/src/main/java/org/hibernate/validator/ap/checks/ConstraintCheckFactory.java]
* extend [ConstraintHelper||https://github.com/hibernate/hibernate-validator/blob/master/hibernate-validator-annotation-processor/src/main/java/org/hibernate/validator/ap/util/ConstraintHelper.java]#getAnnotationType() to recognize the new supported annotation
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list