Annotation Interface SuppressFBWarnings


@Retention(CLASS) public @interface SuppressFBWarnings
SuppressFBWarnings allows to suppress FindBug warnings without any library imports. Source: https://stackoverflow.com/a/44947252.

Copyright (c) 2026-2026 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See for project information https://djunits.org. The DJUNITS project is distributed under a three-clause BSD-style license.

Author:
Alexander Verbraeck
  • Optional Element Summary

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

    • 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:
      the warnings that are to be suppressed.
      Default:
      {}
    • justification

      String justification
      Optional documentation of the reason why the warning is suppressed.
      Returns:
      the justification for suppression
      Default:
      ""