edu.umd.cs.findbugs.annotations.DesireNoWarning Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of findbugs-annotations Show documentation
Show all versions of findbugs-annotations Show documentation
because the findbugs people are incapable of packaging jars without duplicates
The newest version!
/*
* 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 no FindBugs warning of the specified type
* is not desired.
*
* See http://code.google.com/p/findbugs/wiki/FindbugsTestCases
*
* @author David Hovemeyer
*/
@Retention(RetentionPolicy.CLASS)
public @interface DesireNoWarning {
/**
* The value indicates the bug code (e.g., NP) or bug pattern (e.g.,
* IL_INFINITE_LOOP) that is desired to not be reported
*/
public String value();
@Deprecated
Priority priority() default Priority.LOW;
/** Want no warning at this priority or higher */
Confidence confidence() default Confidence.LOW;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy