How to build a small validation framework using java annotation and reflection