Package edu.umd.cs.findbugs.annotations
Annotation Interface ExpectWarning
Deprecated.
Annotation indicating that a FindBugs warning is expected.
See http://code.google.com/p/findbugs/wiki/FindbugsTestCases
- Author:
- David Hovemeyer
-
Required Element Summary
-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionDeprecated.Want a warning at this priority or higherint
Deprecated.Expect at least this many warningsint
Deprecated.Expect a warning at least this scary
-
Element Details
-
value
String valueDeprecated.The value indicates the bug code (e.g., NP) or bug pattern (e.g., IL_INFINITE_LOOP) of the expected warning. Can be a comma-separated list.
-
-
-
confidence
Confidence confidenceDeprecated.Want a warning at this priority or higher- Default:
- LOW
-
rank
int rankDeprecated.Expect a warning at least this scary- Default:
- 20
-
num
int numDeprecated.Expect at least this many warnings- Default:
- 1
-
edu.umd.cs.findbugs.test.matcher.BugInstanceMatcher
matchers in test source directory