/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package edu.umd.cs.findbugs.annotations;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
/**
* Annotation indicating that <em>no</em> FindBugs warning is expected.
*
* See http://code.google.com/p/findbugs/wiki/FindbugsTestCases
*
* @author David Hovemeyer
*/
@Retention(RetentionPolicy.CLASS)
public @interface NoWarning {
/**
* The value indicates the bug code (e.g., NP) or bug pattern (e.g.,
* IL_INFINITE_LOOP) that should not be reported
*/
public String value();
/** Want no warning at this priority or higher */
public Priority priority() default Priority.LOW;
}