package com.github.aureliano.damihilogs.annotation.validation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import com.github.aureliano.damihilogs.validation.IValidator;
import com.github.aureliano.damihilogs.validation.NotNullValidator;

@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
@Constraint(validatedBy = NotNullValidator.class)
public @interface NotNull {

	public abstract Class<? extends IValidator> validatedBy();
	
	public abstract String message() default "Expected to find a not null value for field ?.";
}
@@ -223,70 +223,8 @@
 t;%0A%0A
-import com.github.aureliano.damihilogs.validation.IValidator;%0A
 impo
@@ -433,69 +433,8 @@
 ll %7B
-%0A%0A%09public abstract Class%3C? extends IValidator%3E validatedBy();
 %0A%09%0A%09

Create constraint validator annotation.