All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.nico.cat.mvc.scan.annotations.NotNull Maven / Gradle / Ivy

package org.nico.cat.mvc.scan.annotations;

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

/** 
 * Parameter Verfiy
 * 
 * @author nico
 * @version createTime:2018年3月25日 下午1:31:51
 */
@Target({ElementType.FIELD, ElementType.PARAMETER})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
@NV
public @interface NotNull {
	
	String message() default "Field can not be null";
	
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy