Package edu.umd.cs.findbugs.annotations
Annotation Type ExpectWarning
-
@Deprecated @Retention(CLASS) public @interface ExpectWarning
Deprecated.The annotation based approach is useless for lambdas. Write expectations usingedu.umd.cs.findbugs.test.matcher.BugInstanceMatcher
matchers in test source directoryAnnotation indicating that a FindBugs warning is expected. See http://code.google.com/p/findbugs/wiki/FindbugsTestCases- Author:
- David Hovemeyer
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description java.lang.String
value
Deprecated.The value indicates the bug code (e.g., NP) or bug pattern (e.g., IL_INFINITE_LOOP) of the expected warning.
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description Confidence
confidence
Deprecated.Want a warning at this priority or higherint
num
Deprecated.Expect at least this many warningsint
rank
Deprecated.Expect a warning at least this scary
-
-
-
-
confidence
Confidence confidence
Deprecated.Want a warning at this priority or higher- Default:
- edu.umd.cs.findbugs.annotations.Confidence.LOW
-
-