Package edu.umd.cs.findbugs.ba.jsr305
Enum SourceSinkType
- java.lang.Object
-
- java.lang.Enum<SourceSinkType>
-
- edu.umd.cs.findbugs.ba.jsr305.SourceSinkType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<SourceSinkType>
public enum SourceSinkType extends java.lang.Enum<SourceSinkType>
Types of sources and sinks in type qualifier dataflow analysis.- Author:
- David Hovemeyer
- See Also:
SourceSinkInfo
,TypeQualifierValueSet
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ARGUMENT_TO_CALLED_METHOD
CONSTANT_VALUE
FIELD_LOAD
FIELD_STORE
OTHER
PARAMETER
RETURN_VALUE
RETURN_VALUE_OF_CALLED_METHOD
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SourceSinkType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SourceSinkType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PARAMETER
public static final SourceSinkType PARAMETER
-
RETURN_VALUE_OF_CALLED_METHOD
public static final SourceSinkType RETURN_VALUE_OF_CALLED_METHOD
-
FIELD_LOAD
public static final SourceSinkType FIELD_LOAD
-
CONSTANT_VALUE
public static final SourceSinkType CONSTANT_VALUE
-
OTHER
public static final SourceSinkType OTHER
-
ARGUMENT_TO_CALLED_METHOD
public static final SourceSinkType ARGUMENT_TO_CALLED_METHOD
-
RETURN_VALUE
public static final SourceSinkType RETURN_VALUE
-
FIELD_STORE
public static final SourceSinkType FIELD_STORE
-
-
Method Detail
-
values
public static SourceSinkType[] 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 (SourceSinkType c : SourceSinkType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SourceSinkType 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
-
-