FindBugs™ 1.3.9

edu.umd.cs.findbugs.ba.jsr305
Enum SourceSinkType

java.lang.Object
  extended by java.lang.Enum<SourceSinkType>
      extended by 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
ARGUMENT_TO_CALLED_METHOD
           
FIELD_LOAD
           
FIELD_STORE
           
PARAMETER
           
RETURN_VALUE
           
RETURN_VALUE_OF_CALLED_METHOD
           
 
Method Summary
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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

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

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 name
java.lang.NullPointerException - if the argument is null

FindBugs™ 1.3.9

FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.