private Class<?> getConstraintValidatorClass(
			TypeElement memberAnnotationTypeElement,
			Class<? extends Annotation> constraintAnnotationClass) {
		AnnotationMirror constraintAnnotation = AnnotationProcessingUtils
				.findAnnotationMirror(processingEnv,
						memberAnnotationTypeElement, constraintAnnotationClass);
		Class<?> constraintValidatorClass = null;

		if (constraintAnnotation != null) {
			String constraintValidatorClassName = AnnotationProcessingUtils
					.getAnnotationElementValue(processingEnv,
							constraintAnnotation, "value").getValue()
					.toString();

			try {
				constraintValidatorClass = Class
						.forName(constraintValidatorClassName);
			} catch (Exception ex) {
				processingEnv.getMessager().printMessage(
						Diagnostic.Kind.ERROR,
						"Cannot get class object for ConstraintValidator class: "
								+ constraintValidatorClassName);
			}
		}

		return constraintValidatorClass;
	}