enum EquivalenceMethod extends java.lang.Enum<EquivalenceMethod>
Enum Constant and Description |
---|
DATA_FLOW
Indicates that the two types are almost exactly the same, and that a
data flow analysis algorithm comparing them should consider them equal.
|
IDENTITY
Indicates that the two types should behave exactly the same under
all type operations.
|
INVARIANT
Indicates that two types are invariant.
|
Modifier and Type | Method and Description |
---|---|
static EquivalenceMethod |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EquivalenceMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EquivalenceMethod IDENTITY
public static final EquivalenceMethod DATA_FLOW
public static final EquivalenceMethod INVARIANT
public static EquivalenceMethod[] values()
for (EquivalenceMethod c : EquivalenceMethod.values()) System.out.println(c);
public static EquivalenceMethod valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null