Package daikon
Enum VarInfo.VarKind
- Object
-
- Enum<VarInfo.VarKind>
-
- VarKind
-
- All Implemented Interfaces:
Serializable
,Comparable<VarInfo.VarKind>
- Enclosing class:
- VarInfo
public static enum VarInfo.VarKind extends Enum<VarInfo.VarKind>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description 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.
-
-
-
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 nameNullPointerException
- if the argument is null
-
-