|
Hmm right now I am not using a subclass approach and i do not have enough knowledge about annotations if merging the attributes would break backwards functionality.
If it is not possible to refer to an instance of an arbitrary class only option b) remains since option a) is identically to creating own validator implementation.
|