Annotation Type DesireNoWarning


  • @Retention(CLASS)
    public @interface DesireNoWarning
    Annotation indicating that no FindBugs warnings of the specified type 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.String value
      The value indicates the bug code (e.g., NP) or bug pattern (e.g., IL_INFINITE_LOOP) that is desired to not be reported
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      Confidence confidence
      Want no warning at this priority or higher
      int num
      Tolerate up to this many warnings
      Priority priority
      Deprecated.
      - use confidence instead
    • Element Detail

      • value

        java.lang.String value
        The value indicates the bug code (e.g., NP) or bug pattern (e.g., IL_INFINITE_LOOP) that is desired to not be reported
      • priority

        @Deprecated
        Priority priority
        Deprecated.
        - use confidence instead
        Default:
        edu.umd.cs.findbugs.annotations.Priority.LOW
      • confidence

        Confidence confidence
        Want no warning at this priority or higher
        Default:
        edu.umd.cs.findbugs.annotations.Confidence.LOW
      • num

        int num
        Tolerate up to this many warnings
        Default:
        0