ua.gradsoft.javachecker.models.expressions
Enum JavaAssigmentOperatorKind

java.lang.Object
  extended by java.lang.Enum<JavaAssigmentOperatorKind>
      extended by ua.gradsoft.javachecker.models.expressions.JavaAssigmentOperatorKind
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<JavaAssigmentOperatorKind>

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

Kind of Java assigment operator

Author:
Ruslan Shevchenko

Enum Constant Summary
AND_ASSIGN
           
ASSIGN
           
DIVIDE_ASSIGN
           
LEFT_SHIFT_ASSIGN
           
LEFT_SSHIFT_ASSIGN
           
MINUS_ASSIGN
           
MODULE_ASSIGN
           
MULTIPLY_ASSIGN
           
OR_ASSIGN
           
PLUS_ASSIGN
           
RIGHT_SHIFT_ASSIGN
           
XOR_ASSIGN
           
 
Method Summary
abstract  boolean checkName(java.lang.String name)
           
static JavaAssigmentOperatorKind create(Term t)
           
abstract  java.lang.String getString()
           
static JavaAssigmentOperatorKind valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static JavaAssigmentOperatorKind[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ASSIGN

public static final JavaAssigmentOperatorKind ASSIGN

MULTIPLY_ASSIGN

public static final JavaAssigmentOperatorKind MULTIPLY_ASSIGN

DIVIDE_ASSIGN

public static final JavaAssigmentOperatorKind DIVIDE_ASSIGN

MODULE_ASSIGN

public static final JavaAssigmentOperatorKind MODULE_ASSIGN

PLUS_ASSIGN

public static final JavaAssigmentOperatorKind PLUS_ASSIGN

MINUS_ASSIGN

public static final JavaAssigmentOperatorKind MINUS_ASSIGN

LEFT_SHIFT_ASSIGN

public static final JavaAssigmentOperatorKind LEFT_SHIFT_ASSIGN

RIGHT_SHIFT_ASSIGN

public static final JavaAssigmentOperatorKind RIGHT_SHIFT_ASSIGN

LEFT_SSHIFT_ASSIGN

public static final JavaAssigmentOperatorKind LEFT_SSHIFT_ASSIGN

AND_ASSIGN

public static final JavaAssigmentOperatorKind AND_ASSIGN

XOR_ASSIGN

public static final JavaAssigmentOperatorKind XOR_ASSIGN

OR_ASSIGN

public static final JavaAssigmentOperatorKind OR_ASSIGN
Method Detail

values

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

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

valueOf

public static JavaAssigmentOperatorKind 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
java.lang.NullPointerException - if the argument is null

checkName

public abstract boolean checkName(java.lang.String name)

getString

public abstract java.lang.String getString()

create

public static JavaAssigmentOperatorKind create(Term t)
                                        throws TermWareException
Throws:
TermWareException