Class SuppressWarningKeys

java.lang.Object
com.aquima.interactions.foundation.utility.SuppressWarningKeys

public class SuppressWarningKeys extends Object
Contains constants for the SuppressWarnings annotation. The constants in this class can be used instead of strings in order to facilitate searching where a particular warning is suppressed.
Since:
10.0
Author:
Petru Galanton
  • Field Details

    • SERIAL

      public static final String SERIAL
      Suppress warnings when a Serializable class does not declare a serialVersionUID field.
      See Also:
    • UNCHECKED

      public static final String UNCHECKED
      Suppress warnings when an unchecked conversion is used.
      See Also:
    • UNUSED

      public static final String UNUSED
      Suppress warnings when a field/method is not used.
      See Also:
    • RAW_TYPES

      public static final String RAW_TYPES
      Suppress warnings when a generic type is used without parameters.
      See Also:
    • CAST

      public static final String CAST
      Suppress warnings when a cast is labeled as redundant.
      See Also:
    • DEPRECATION

      public static final String DEPRECATION
      Suppress warnings when a class/method is deprecated.
      See Also:
    • REMOVAL

      public static final String REMOVAL
      Suppress warnings when a method is marked for removal.
      See Also:
    • SE_BAD_FIELD

      public static final String SE_BAD_FIELD
      Suppress warnings when a Serializable class defines a non-serializable instance field.
      See Also:
    • SE_TRANSIENT_FIELD_NOT_RESTORED

      public static final String SE_TRANSIENT_FIELD_NOT_RESTORED
      Suppress warnings when a transient field isn't set by deserialization.
      See Also:
    • SE_BAD_FIELD_STORE

      public static final String SE_BAD_FIELD_STORE
      Suppress warnings when a non-serializable value is stored into instance field of a serializable class.
      See Also:
    • EXCESSIVE_IMPORTS

      public static final String EXCESSIVE_IMPORTS
      Suppress PMD warnings related to too many imports.
      See Also:
    • BC_UNCONFIRMED_CAST

      public static final String BC_UNCONFIRMED_CAST
      Supress FB warnings that the cast is unchecked, and not all instances of the type casted from can be cast to the type it is being cast to. Check that your program logic ensures that this cast will not fail.
      See Also:
  • Constructor Details

    • SuppressWarningKeys

      public SuppressWarningKeys()