Annotation Type FindBugsSuppress


@Retention(SOURCE) @Target({CONSTRUCTOR,FIELD,METHOD,PACKAGE,TYPE}) public @interface FindBugsSuppress
This attribute can be attached to classes or members of classes to indicate that a particular FindBugs bug code should be suppressed for that class or class member. This attribute doesn't suppress the bug directly, but relies on a tool extracting this information from the compiled jar file and using it to construct an exclude filter file.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
     
     
  • Element Details

    • code

      String code
      Default:
      ""
    • pattern

      String pattern
      Default:
      ""