Auto Validator.java generation