Class SuppressWarningKeys
java.lang.Object
com.aquima.interactions.foundation.utility.SuppressWarningKeys
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 Summary
FieldsModifier and TypeFieldDescriptionstatic final String
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.static final String
Suppress warnings when a cast is labeled as redundant.static final String
Suppress warnings when a class/method is deprecated.static final String
Suppress PMD warnings related to too many imports.static final String
Suppress warnings when a generic type is used without parameters.static final String
Suppress warnings when a method is marked for removal.static final String
Suppress warnings when a Serializable class defines a non-serializable instance field.static final String
Suppress warnings when a non-serializable value is stored into instance field of a serializable class.static final String
Suppress warnings when a transient field isn't set by deserialization.static final String
Suppress warnings when aSerializable
class does not declare a serialVersionUID field.static final String
Suppress warnings when an unchecked conversion is used.static final String
Suppress warnings when a field/method is not used. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
SERIAL
Suppress warnings when aSerializable
class does not declare a serialVersionUID field.- See Also:
-
UNCHECKED
Suppress warnings when an unchecked conversion is used.- See Also:
-
UNUSED
Suppress warnings when a field/method is not used.- See Also:
-
RAW_TYPES
Suppress warnings when a generic type is used without parameters.- See Also:
-
CAST
Suppress warnings when a cast is labeled as redundant.- See Also:
-
DEPRECATION
Suppress warnings when a class/method is deprecated.- See Also:
-
REMOVAL
Suppress warnings when a method is marked for removal.- See Also:
-
SE_BAD_FIELD
Suppress warnings when a Serializable class defines a non-serializable instance field.- See Also:
-
SE_TRANSIENT_FIELD_NOT_RESTORED
Suppress warnings when a transient field isn't set by deserialization.- See Also:
-
SE_BAD_FIELD_STORE
Suppress warnings when a non-serializable value is stored into instance field of a serializable class.- See Also:
-
EXCESSIVE_IMPORTS
Suppress PMD warnings related to too many imports.- See Also:
-
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()
-