Annotation Type NoWarning


  • @Deprecated
    @Retention(CLASS)
    public @interface NoWarning
    Deprecated.
    The annotation based approach is useless for lambdas. Write expectations using edu.umd.cs.findbugs.test.matcher.BugInstanceMatcher matchers in test source directory
    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
      java.lang.String value
      Deprecated.
      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
      Confidence confidence
      Deprecated.
      Want no warning at this priority or higher
      int num
      Deprecated.
      Tolerate up to this many warnings
      int rank
      Deprecated.
      Want no warning at this rank or scarier
    • Element Detail

      • value

        java.lang.String value
        Deprecated.
        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
        Deprecated.
        Want no warning at this priority or higher
        Default:
        edu.umd.cs.findbugs.annotations.Confidence.LOW
      • rank

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

        int num
        Deprecated.
        Tolerate up to this many warnings
        Default:
        0