There is not much BV can contribute to it imo. Look at the portable extension code, 90% is CDI specific. The interesting bits are to determine override logic, but I argue that is not the job of Bean Validation either. Once you know the type and method there is already the descriptor API to determine whether a method is constrained. What exactly do you want to re-use here?
|