We've used an AspectJ based solution for this for the past few years. We originally used a custom implementation of the Appendix C method validation API and then recently switched to using Hibernate Validator's implementation (which is when we came across this issue).
Yes, it is necessary to use class enhancement.
We've used an AspectJ based solution for this for the past few years. We originally used a custom implementation of the Appendix C method validation API and then recently switched to using Hibernate Validator's implementation (which is when we came across this issue).