public enum MacroKind extends java.lang.Enum<MacroKind>
CodePackage.getMacroKind()| Enum Constant and Description |
|---|
EXTERNAL
The 'External' literal object.
|
OPTION
The 'Option' literal object.
|
REGULAR
The 'Regular' literal object.
|
UNDEFINED
The 'Undefined' literal object.
|
UNKNOWN
The 'Unknown' literal object.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
EXTERNAL_VALUE
The 'External' literal value.
|
static int |
OPTION_VALUE
The 'Option' literal value.
|
static int |
REGULAR_VALUE
The 'Regular' literal value.
|
static int |
UNDEFINED_VALUE
The 'Undefined' literal value.
|
static int |
UNKNOWN_VALUE
The 'Unknown' literal value.
|
static java.util.List<MacroKind> |
VALUES
A public read-only list of all the 'Macro Kind' enumerators.
|
| Modifier and Type | Method and Description |
|---|---|
static MacroKind |
get(int value)
Returns the 'Macro Kind' literal with the specified integer value.
|
static MacroKind |
get(java.lang.String literal)
Returns the 'Macro Kind' literal with the specified literal value.
|
static MacroKind |
getByName(java.lang.String name)
Returns the 'Macro Kind' literal with the specified name.
|
java.lang.String |
getLiteral() |
java.lang.String |
getName() |
int |
getValue() |
java.lang.String |
toString()
Returns the literal value of the enumerator, which is its string representation.
|
static MacroKind |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MacroKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MacroKind REGULAR
REGULAR_VALUEpublic static final MacroKind OPTION
OPTION_VALUEpublic static final MacroKind UNDEFINED
UNDEFINED_VALUEpublic static final MacroKind EXTERNAL
EXTERNAL_VALUEpublic static final MacroKind UNKNOWN
UNKNOWN_VALUEpublic static final int REGULAR_VALUE
If the meaning of 'Regular' literal object isn't clear, there really should be more of a description here...
REGULAR,
Constant Field Valuespublic static final int OPTION_VALUE
If the meaning of 'Option' literal object isn't clear, there really should be more of a description here...
OPTION,
Constant Field Valuespublic static final int UNDEFINED_VALUE
If the meaning of 'Undefined' literal object isn't clear, there really should be more of a description here...
UNDEFINED,
Constant Field Valuespublic static final int EXTERNAL_VALUE
If the meaning of 'External' literal object isn't clear, there really should be more of a description here...
EXTERNAL,
Constant Field Valuespublic static final int UNKNOWN_VALUE
If the meaning of 'Unknown' literal object isn't clear, there really should be more of a description here...
UNKNOWN,
Constant Field Valuespublic static final java.util.List<MacroKind> VALUES
public static MacroKind[] values()
for (MacroKind c : MacroKind.values()) System.out.println(c);
public static MacroKind 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 MacroKind get(java.lang.String literal)
public static MacroKind getByName(java.lang.String name)
public static MacroKind get(int value)
public int getValue()
public java.lang.String getName()
public java.lang.String getLiteral()
public java.lang.String toString()
toString in class java.lang.Enum<MacroKind>