Annotation Type SuppressFBWarnings


  • @Retention(CLASS)
    public @interface SuppressFBWarnings
    Annotation for suppressing spotbugs checks when necessary.
    • 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.
        Default:
        {}
      • justification

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