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
      java.lang.String code  
      java.lang.String pattern  
    • Element Detail

      • code

        java.lang.String code
        Default:
        ""
      • pattern

        java.lang.String pattern
        Default:
        ""