com.tocea.easycoverage.annotations.RegExp Maven / Gradle / Ivy
Show all versions of easyCoverage4J-annotations Show documentation
/**
* Easy Coverage for Java
*
* Copyright 2011-2012 Tocea Technology Solutions http://www.tocea.com
*
* This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License along with this library. If not, see
* .
*
**/
package com.tocea.easycoverage.annotations;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* This type describes the not null annotation. This annotation is employed to mark a method where the not null test must be injected.
*
*
* @author $Author: sleroy $
* @since 2 févr. 2012
* @copyright Copyright (C) 2010-2012 TOCEA
*/
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target({
ElementType.PARAMETER })
public @interface RegExp {
/**
* This method performs the regexp.
*
* @return the regular expression.
*/
String regExp() default "";
}