Annotation Type SuppressFBWarnings


  • @Retention(CLASS)
    public @interface SuppressFBWarnings
    Inspired from https://sourceforge.net/p/findbugs/feature-requests/298/#5e88
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      String justification
      Optional documentation of the reason why the warning is suppressed
      String[] value
      The set of FindBugs warnings that are to be suppressed in annotated element.
    • Element Detail

      • value

        String[] value
        The set of FindBugs warnings that are to be suppressed in annotated element. The value can be a bug category, kind or pattern.
        Returns:
        list of values
        Default:
        {}
      • justification

        String justification
        Optional documentation of the reason why the warning is suppressed
        Returns:
        justification string
        Default:
        ""