@@ -0,0 +1,645 @@
+package com.github.aureliano.edocs.annotation.validation.apply;%0A%0Aimport java.lang.annotation.Annotation;%0Aimport java.lang.reflect.Method;%0Aimport java.util.Set;%0A%0Aimport com.github.aureliano.edocs.common.helper.ReflectionHelper;%0A%0Apublic class ValidValidator implements IValidator %7B%0A%0A%09public ValidValidator() %7B%0A%09%09super();%0A%09%7D%0A%0A%09@Override%0A%09public Set%3CConstraintViolation%3E validate(Object object, Method method, Annotation annotation) %7B%0A%09%09Object returnedValue = ReflectionHelper.callMethod(object, method.getName(), null, null);%0A%09%09%0A%09%09if (returnedValue == null) %7B%0A%09%09%09return null;%0A%09%09%7D%0A%09%09%0A%09%09return ObjectValidator.instance().validate(returnedValue);%0A%09%7D%0A%7D

Create validator assertion.