Package edu.umd.cs.findbugs.annotations
Annotation Type DesireWarning
-
@Deprecated @Retention(CLASS) public @interface DesireWarningDeprecated.The annotation based approach is useless for lambdas. Write expectations usingedu.umd.cs.findbugs.test.matcher.BugInstanceMatchermatchers in test source directoryAnnotation indicating that a FindBugs warning is desired. 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.StringvalueDeprecated.The value indicates the bug code (e.g., NP) or bug pattern (e.g., IL_INFINITE_LOOP) of the desired warning
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description ConfidenceconfidenceDeprecated.Want a warning at this priority or higherintnumDeprecated.Desire at least this many warningsintrankDeprecated.Desire 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
-
-