public enum PostfixExpressionKind extends Enum<PostfixExpressionKind> implements org.eclipse.emf.common.util.Enumerator
JavaPackage.getPostfixExpressionKind()| Enum Constant and Description |
|---|
DECREMENT
The 'DECREMENT' literal object.
|
INCREMENT
The 'INCREMENT' literal object.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
DECREMENT_VALUE
The 'DECREMENT' literal value.
|
static int |
INCREMENT_VALUE
The 'INCREMENT' literal value.
|
static List<PostfixExpressionKind> |
VALUES
A public read-only list of all the 'Postfix Expression Kind' enumerators.
|
| Modifier and Type | Method and Description |
|---|---|
static PostfixExpressionKind |
get(int value)
Returns the 'Postfix Expression Kind' literal with the specified integer value.
|
static PostfixExpressionKind |
get(String literal)
Returns the 'Postfix Expression Kind' literal with the specified literal value.
|
static PostfixExpressionKind |
getByName(String name)
Returns the 'Postfix Expression Kind' literal with the specified name.
|
String |
getLiteral() |
String |
getName() |
int |
getValue() |
String |
toString()
Returns the literal value of the enumerator, which is its string representation.
|
static PostfixExpressionKind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PostfixExpressionKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PostfixExpressionKind INCREMENT
INCREMENT_VALUEpublic static final PostfixExpressionKind DECREMENT
DECREMENT_VALUEpublic static final int INCREMENT_VALUE
INCREMENT,
Constant Field Valuespublic static final int DECREMENT_VALUE
DECREMENT,
Constant Field Valuespublic static final List<PostfixExpressionKind> VALUES
public static PostfixExpressionKind[] values()
for (PostfixExpressionKind c : PostfixExpressionKind.values()) System.out.println(c);
public static PostfixExpressionKind valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static PostfixExpressionKind get(String literal)
literal - the literal.null.public static PostfixExpressionKind getByName(String name)
name - the name.null.public static PostfixExpressionKind get(int value)
value - the integer value.null.public int getValue()
getValue in interface org.eclipse.emf.common.util.Enumeratorpublic String getName()
getName in interface org.eclipse.emf.common.util.Enumeratorpublic String getLiteral()
getLiteral in interface org.eclipse.emf.common.util.Enumeratorpublic String toString()
toString in class Enum<PostfixExpressionKind>Copyright © 2018–2020 Atlanmod. All rights reserved.