org.eclipse.gmt.modisco.java
Enum PostfixExpressionKind

java.lang.Object
  extended by java.lang.Enum<PostfixExpressionKind>
      extended by org.eclipse.gmt.modisco.java.PostfixExpressionKind
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<PostfixExpressionKind>

public enum PostfixExpressionKind
extends java.lang.Enum<PostfixExpressionKind>

A representation of the literals of the enumeration 'Postfix Expression Kind', and utility methods for working with them.

See Also:
JavaPackage.getPostfixExpressionKind()
Generated:
Model:

Enum Constant Summary
DECREMENT
          The 'DECREMENT' literal object.
INCREMENT
          The 'INCREMENT' literal object.
 
Field Summary
static int DECREMENT_VALUE
          The 'DECREMENT' literal value.
static int INCREMENT_VALUE
          The 'INCREMENT' literal value.
static java.util.List<PostfixExpressionKind> VALUES
          A public read-only list of all the 'Postfix Expression Kind' enumerators.
 
Method Summary
static PostfixExpressionKind get(int value)
          Returns the 'Postfix Expression Kind' literal with the specified integer value.
static PostfixExpressionKind get(java.lang.String literal)
          Returns the 'Postfix Expression Kind' literal with the specified literal value.
static PostfixExpressionKind getByName(java.lang.String name)
          Returns the 'Postfix Expression 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 PostfixExpressionKind valueOf(java.lang.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're declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

INCREMENT

public static final PostfixExpressionKind INCREMENT
The 'INCREMENT' literal object.

See Also:
INCREMENT_VALUE
Generated:
Ordered:

DECREMENT

public static final PostfixExpressionKind DECREMENT
The 'DECREMENT' literal object.

See Also:
DECREMENT_VALUE
Generated:
Ordered:
Field Detail

INCREMENT_VALUE

public static final int INCREMENT_VALUE
The 'INCREMENT' literal value.

If the meaning of 'INCREMENT' literal object isn't clear, there really should be more of a description here...

See Also:
INCREMENT, Constant Field Values
Generated:
Model:
literal="++"
Ordered:

DECREMENT_VALUE

public static final int DECREMENT_VALUE
The 'DECREMENT' literal value.

If the meaning of 'DECREMENT' literal object isn't clear, there really should be more of a description here...

See Also:
DECREMENT, Constant Field Values
Generated:
Model:
literal="--"
Ordered:

VALUES

public static final java.util.List<PostfixExpressionKind> VALUES
A public read-only list of all the 'Postfix Expression Kind' enumerators.

Generated:
Method Detail

values

public static final PostfixExpressionKind[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(PostfixExpressionKind c : PostfixExpressionKind.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static PostfixExpressionKind valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name

get

public static PostfixExpressionKind get(java.lang.String literal)
Returns the 'Postfix Expression Kind' literal with the specified literal value.

Generated:

getByName

public static PostfixExpressionKind getByName(java.lang.String name)
Returns the 'Postfix Expression Kind' literal with the specified name.

Generated:

get

public static PostfixExpressionKind get(int value)
Returns the 'Postfix Expression Kind' literal with the specified integer value.

Generated:

getValue

public int getValue()

Generated:

getName

public java.lang.String getName()

Generated:

getLiteral

public java.lang.String getLiteral()

Generated:

toString

public java.lang.String toString()
Returns the literal value of the enumerator, which is its string representation.

Overrides:
toString in class java.lang.Enum<PostfixExpressionKind>
Generated: