Top Description Methods
edu.umd.cs.findbugs.annotations

public @Interface DesireNoWarning

extends Annotation
Annotations
@Deprecated
@Retention:CLASS
Imports
java.lang.annotation.Retention, .RetentionPolicy

Deprecated

The annotation based approach is useless for lambdas. Write expectations using edu.umd.cs.findbugs.test.matcher.BugInstanceMatcher matchers in test source directory

Annotation indicating that no FindBugs warnings of the specified type is desired. See http://code.google.com/p/findbugs/wiki/FindbugsTestCases
Author
David Hovemeyer

Method Summary

Modifier and TypeMethod and Description
public Confidence
confidence()

Want no warning at this priority or higher

public int
num()

Tolerate up to this many warnings

public Priority
priority()

Deprecated - use confidence instead
public String
value()

The value indicates the bug code (e.g., NP) or bug pattern (e.g., IL_INFINITE_LOOP) that is desired to not be reported

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

confidenceback to summary
public Confidence confidence()

Want no warning at this priority or higher

numback to summary
public int num()

Tolerate up to this many warnings

priorityback to summary
public Priority priority()

Deprecated

- use confidence instead

Annotations
@Deprecated
valueback to summary
public String value()

The value indicates the bug code (e.g., NP) or bug pattern (e.g., IL_INFINITE_LOOP) that is desired to not be reported