Package edu.umd.cs.findbugs.annotations
Annotation Type DesireWarning
Annotation indicating that a FindBugs warning is desired.
See http://code.google.com/p/findbugs/wiki/FindbugsTestCases
- Author:
- David Hovemeyer
-
Required Element Summary
Required Elements -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionWant a warning at this priority or higherint
Desire at least this many warningsint
Desire a warning at least this scary
-
Element Details
-
value
String valueThe value indicates the bug code (e.g., NP) or bug pattern (e.g., IL_INFINITE_LOOP) of the desired warning
-
-
-
confidence
Confidence confidenceWant a warning at this priority or higher- Default:
- LOW
-
rank
int rankDesire a warning at least this scary- Default:
- 20
-
num
int numDesire at least this many warnings- Default:
- 1
-