Package org.eclipse.gmt.modisco.java
Enum AssignmentKind
- All Implemented Interfaces:
Serializable,Comparable<AssignmentKind>,java.lang.constant.Constable,org.eclipse.emf.common.util.Enumerator
public enum AssignmentKind extends Enum<AssignmentKind> implements org.eclipse.emf.common.util.Enumerator
A representation of the literals of the enumeration 'Assignment Kind',
and utility methods for working with them.
- See Also:
JavaPackage.getAssignmentKind()
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants Enum Constant Description ASSIGNThe 'ASSIGN' literal object.BIT_AND_ASSIGNThe 'BIT AND ASSIGN' literal object.BIT_OR_ASSIGNThe 'BIT OR ASSIGN' literal object.BIT_XOR_ASSIGNThe 'BIT XOR ASSIGN' literal object.DIVIDE_ASSIGNThe 'DIVIDE ASSIGN' literal object.LEFT_SHIFT_ASSIGNThe 'LEFT SHIFT ASSIGN' literal object.MINUS_ASSIGNThe 'MINUS ASSIGN' literal object.PLUS_ASSIGNThe 'PLUS ASSIGN' literal object.REMAINDER_ASSIGNThe 'REMAINDER ASSIGN' literal object.RIGHT_SHIFT_SIGNED_ASSIGNThe 'RIGHT SHIFT SIGNED ASSIGN' literal object.RIGHT_SHIFT_UNSIGNED_ASSIGNThe 'RIGHT SHIFT UNSIGNED ASSIGN' literal object.TIMES_ASSIGNThe 'TIMES ASSIGN' literal object. -
Field Summary
Fields Modifier and Type Field Description static intASSIGN_VALUEThe 'ASSIGN' literal value.static intBIT_AND_ASSIGN_VALUEThe 'BIT AND ASSIGN' literal value.static intBIT_OR_ASSIGN_VALUEThe 'BIT OR ASSIGN' literal value.static intBIT_XOR_ASSIGN_VALUEThe 'BIT XOR ASSIGN' literal value.static intDIVIDE_ASSIGN_VALUEThe 'DIVIDE ASSIGN' literal value.static intLEFT_SHIFT_ASSIGN_VALUEThe 'LEFT SHIFT ASSIGN' literal value.static intMINUS_ASSIGN_VALUEThe 'MINUS ASSIGN' literal value.static intPLUS_ASSIGN_VALUEThe 'PLUS ASSIGN' literal value.static intREMAINDER_ASSIGN_VALUEThe 'REMAINDER ASSIGN' literal value.static intRIGHT_SHIFT_SIGNED_ASSIGN_VALUEThe 'RIGHT SHIFT SIGNED ASSIGN' literal value.static intRIGHT_SHIFT_UNSIGNED_ASSIGN_VALUEThe 'RIGHT SHIFT UNSIGNED ASSIGN' literal value.static intTIMES_ASSIGN_VALUEThe 'TIMES ASSIGN' literal value.static List<AssignmentKind>VALUESA public read-only list of all the 'Assignment Kind' enumerators. -
Method Summary
Modifier and Type Method Description static AssignmentKindget(int value)Returns the 'Assignment Kind' literal with the specified integer value.static AssignmentKindget(String literal)Returns the 'Assignment Kind' literal with the specified literal value.static AssignmentKindgetByName(String name)Returns the 'Assignment Kind' literal with the specified name.StringgetLiteral()StringgetName()intgetValue()StringtoString()Returns the literal value of the enumerator, which is its string representation.static AssignmentKindvalueOf(String name)Returns the enum constant of this type with the specified name.static AssignmentKind[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ASSIGN
The 'ASSIGN' literal object.- See Also:
ASSIGN_VALUE
-
PLUS_ASSIGN
The 'PLUS ASSIGN' literal object.- See Also:
PLUS_ASSIGN_VALUE
-
MINUS_ASSIGN
The 'MINUS ASSIGN' literal object.- See Also:
MINUS_ASSIGN_VALUE
-
TIMES_ASSIGN
The 'TIMES ASSIGN' literal object.- See Also:
TIMES_ASSIGN_VALUE
-
DIVIDE_ASSIGN
The 'DIVIDE ASSIGN' literal object.- See Also:
DIVIDE_ASSIGN_VALUE
-
BIT_AND_ASSIGN
The 'BIT AND ASSIGN' literal object.- See Also:
BIT_AND_ASSIGN_VALUE
-
BIT_OR_ASSIGN
The 'BIT OR ASSIGN' literal object.- See Also:
BIT_OR_ASSIGN_VALUE
-
BIT_XOR_ASSIGN
The 'BIT XOR ASSIGN' literal object.- See Also:
BIT_XOR_ASSIGN_VALUE
-
REMAINDER_ASSIGN
The 'REMAINDER ASSIGN' literal object.- See Also:
REMAINDER_ASSIGN_VALUE
-
LEFT_SHIFT_ASSIGN
The 'LEFT SHIFT ASSIGN' literal object.- See Also:
LEFT_SHIFT_ASSIGN_VALUE
-
RIGHT_SHIFT_SIGNED_ASSIGN
The 'RIGHT SHIFT SIGNED ASSIGN' literal object.- See Also:
RIGHT_SHIFT_SIGNED_ASSIGN_VALUE
-
RIGHT_SHIFT_UNSIGNED_ASSIGN
The 'RIGHT SHIFT UNSIGNED ASSIGN' literal object.- See Also:
RIGHT_SHIFT_UNSIGNED_ASSIGN_VALUE
-
-
Field Details
-
ASSIGN_VALUE
public static final int ASSIGN_VALUEThe 'ASSIGN' literal value.- See Also:
ASSIGN, Constant Field Values
-
PLUS_ASSIGN_VALUE
public static final int PLUS_ASSIGN_VALUEThe 'PLUS ASSIGN' literal value.- See Also:
PLUS_ASSIGN, Constant Field Values
-
MINUS_ASSIGN_VALUE
public static final int MINUS_ASSIGN_VALUEThe 'MINUS ASSIGN' literal value.- See Also:
MINUS_ASSIGN, Constant Field Values
-
TIMES_ASSIGN_VALUE
public static final int TIMES_ASSIGN_VALUEThe 'TIMES ASSIGN' literal value.- See Also:
TIMES_ASSIGN, Constant Field Values
-
DIVIDE_ASSIGN_VALUE
public static final int DIVIDE_ASSIGN_VALUEThe 'DIVIDE ASSIGN' literal value.- See Also:
DIVIDE_ASSIGN, Constant Field Values
-
BIT_AND_ASSIGN_VALUE
public static final int BIT_AND_ASSIGN_VALUEThe 'BIT AND ASSIGN' literal value.- See Also:
BIT_AND_ASSIGN, Constant Field Values
-
BIT_OR_ASSIGN_VALUE
public static final int BIT_OR_ASSIGN_VALUEThe 'BIT OR ASSIGN' literal value.- See Also:
BIT_OR_ASSIGN, Constant Field Values
-
BIT_XOR_ASSIGN_VALUE
public static final int BIT_XOR_ASSIGN_VALUEThe 'BIT XOR ASSIGN' literal value.- See Also:
BIT_XOR_ASSIGN, Constant Field Values
-
REMAINDER_ASSIGN_VALUE
public static final int REMAINDER_ASSIGN_VALUEThe 'REMAINDER ASSIGN' literal value.- See Also:
REMAINDER_ASSIGN, Constant Field Values
-
LEFT_SHIFT_ASSIGN_VALUE
public static final int LEFT_SHIFT_ASSIGN_VALUEThe 'LEFT SHIFT ASSIGN' literal value.- See Also:
LEFT_SHIFT_ASSIGN, Constant Field Values
-
RIGHT_SHIFT_SIGNED_ASSIGN_VALUE
public static final int RIGHT_SHIFT_SIGNED_ASSIGN_VALUEThe 'RIGHT SHIFT SIGNED ASSIGN' literal value.- See Also:
RIGHT_SHIFT_SIGNED_ASSIGN, Constant Field Values
-
RIGHT_SHIFT_UNSIGNED_ASSIGN_VALUE
public static final int RIGHT_SHIFT_UNSIGNED_ASSIGN_VALUEThe 'RIGHT SHIFT UNSIGNED ASSIGN' literal value.- See Also:
RIGHT_SHIFT_UNSIGNED_ASSIGN, Constant Field Values
-
VALUES
A public read-only list of all the 'Assignment Kind' enumerators.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
get
Returns the 'Assignment Kind' literal with the specified literal value.- Parameters:
literal- the literal.- Returns:
- the matching enumerator or
null.
-
getByName
Returns the 'Assignment Kind' literal with the specified name.- Parameters:
name- the name.- Returns:
- the matching enumerator or
null.
-
get
Returns the 'Assignment Kind' literal with the specified integer value.- Parameters:
value- the integer value.- Returns:
- the matching enumerator or
null.
-
getValue
public int getValue()- Specified by:
getValuein interfaceorg.eclipse.emf.common.util.Enumerator
-
getName
- Specified by:
getNamein interfaceorg.eclipse.emf.common.util.Enumerator
-
getLiteral
- Specified by:
getLiteralin interfaceorg.eclipse.emf.common.util.Enumerator
-
toString
Returns the literal value of the enumerator, which is its string representation.- Overrides:
toStringin classEnum<AssignmentKind>
-