Package edu.umd.cs.findbugs.detect
Enum FindUseOfNonSerializableValue.Use
- java.lang.Object
-
- java.lang.Enum<FindUseOfNonSerializableValue.Use>
-
- edu.umd.cs.findbugs.detect.FindUseOfNonSerializableValue.Use
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<FindUseOfNonSerializableValue.Use>
- Enclosing class:
- FindUseOfNonSerializableValue
static enum FindUseOfNonSerializableValue.Use extends java.lang.Enum<FindUseOfNonSerializableValue.Use>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description PASSED_TO_WRITE_OBJECT
STORE_INTO_HTTP_SESSION
STORED_IN_SERIALZIED_FIELD
-
Constructor Summary
Constructors Modifier Constructor Description private
Use()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FindUseOfNonSerializableValue.Use
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static FindUseOfNonSerializableValue.Use[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STORE_INTO_HTTP_SESSION
public static final FindUseOfNonSerializableValue.Use STORE_INTO_HTTP_SESSION
-
PASSED_TO_WRITE_OBJECT
public static final FindUseOfNonSerializableValue.Use PASSED_TO_WRITE_OBJECT
-
STORED_IN_SERIALZIED_FIELD
public static final FindUseOfNonSerializableValue.Use STORED_IN_SERIALZIED_FIELD
-
-
Method Detail
-
values
public static FindUseOfNonSerializableValue.Use[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (FindUseOfNonSerializableValue.Use c : FindUseOfNonSerializableValue.Use.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FindUseOfNonSerializableValue.Use valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-