Package java.lang

Annotation Type FindBugsSuppressWarnings


@Target({TYPE,FIELD,METHOD,PARAMETER,CONSTRUCTOR,LOCAL_VARIABLE})
@Retention(CLASS)
public @interface FindBugsSuppressWarnings
Suppress FindBugs warnings on the annotated element. FindBugs will recognize any annotation that has class retention and whose name ends with "SuppressWarnings".
  • Required Element Summary

    Required Elements
    Modifier and Type Required Element Description
    String[] value
    The FindBugs Patterns to suppress, such as SE_TRANSIENT_FIELD_NOT_RESTORED or Se.
  • Element Details

    • value

      String[] value
      The FindBugs Patterns to suppress, such as SE_TRANSIENT_FIELD_NOT_RESTORED or Se. Full, upper case names are preferred.