public enum IdentifierKind extends java.lang.Enum<IdentifierKind> implements org.eclipse.emf.common.util.Enumerator
Enum Constant and Description |
---|
INPUT_LITERAL |
LOCAL_LITERAL |
OUTPUT_LITERAL |
PARAMETER_LITERAL |
Modifier and Type | Field and Description |
---|---|
static int |
INPUT |
static int |
LOCAL |
static int |
OUTPUT |
static int |
PARAMETER |
static java.util.List<IdentifierKind> |
VALUES |
Modifier and Type | Method and Description |
---|---|
static IdentifierKind |
get(int value) |
static IdentifierKind |
get(java.lang.String literal) |
static IdentifierKind |
getByName(java.lang.String name) |
java.lang.String |
getLiteral() |
java.lang.String |
getName() |
int |
getValue() |
static IdentifierKind |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IdentifierKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IdentifierKind LOCAL_LITERAL
public static final IdentifierKind PARAMETER_LITERAL
public static final IdentifierKind INPUT_LITERAL
public static final IdentifierKind OUTPUT_LITERAL
public static final int LOCAL
public static final int PARAMETER
public static final int INPUT
public static final int OUTPUT
public static final java.util.List<IdentifierKind> VALUES
public static IdentifierKind[] values()
for (IdentifierKind c : IdentifierKind.values()) System.out.println(c);
public static IdentifierKind 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 nullpublic static IdentifierKind get(java.lang.String literal)
public static IdentifierKind getByName(java.lang.String name)
public static IdentifierKind get(int value)
public java.lang.String getLiteral()
getLiteral
in interface org.eclipse.emf.common.util.Enumerator
public java.lang.String getName()
getName
in interface org.eclipse.emf.common.util.Enumerator
public int getValue()
getValue
in interface org.eclipse.emf.common.util.Enumerator