Annotation Type NoWarning


@Retention(CLASS) public @interface NoWarning
Annotation indicating that no 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
    The value indicates the bug code (e.g., NP) or bug pattern (e.g., IL_INFINITE_LOOP) that should not be reported
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Want no warning at this priority or higher
    int
    Tolerate up to this many warnings
    int
    Want no warning at this rank or scarier
  • Element Details

    • value

      String value
      The value indicates the bug code (e.g., NP) or bug pattern (e.g., IL_INFINITE_LOOP) that should not be reported
    • confidence

      Confidence confidence
      Want no warning at this priority or higher
      Default:
      LOW
    • rank

      int rank
      Want no warning at this rank or scarier
      Default:
      20
    • num

      int num
      Tolerate up to this many warnings
      Default:
      0