daikon
Enum VarInfo.VarKind

Object
  extended by Enum<VarInfo.VarKind>
      extended by VarInfo.VarKind
All Implemented Interfaces:
Serializable, Comparable<VarInfo.VarKind>
Enclosing class:
VarInfo

public static enum VarInfo.VarKind
extends Enum<VarInfo.VarKind>


Enum Constant Summary
ARRAY
           
FIELD
           
FUNCTION
           
RETURN
           
VARIABLE
           
 
Method Summary
static VarInfo.VarKind valueOf(String name)
          Returns the enum constant of this type with the specified name.
static VarInfo.VarKind[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

FIELD

public static final VarInfo.VarKind FIELD

FUNCTION

public static final VarInfo.VarKind FUNCTION

ARRAY

public static final VarInfo.VarKind ARRAY

VARIABLE

public static final VarInfo.VarKind VARIABLE

RETURN

public static final VarInfo.VarKind RETURN
Method Detail

values

public static VarInfo.VarKind[] 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 (VarInfo.VarKind c : VarInfo.VarKind.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static VarInfo.VarKind valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null