ua.gradsoft.javachecker.models
Enum JavaExpressionKind

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

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

Kind of Java Expression

Author:
Ruslan Shevchenko

Enum Constant Summary
ADDITIVE
          AdditiveExpression
ALLOCATION_EXPRESSION
          AllocationExpression
AND
          AndExpression
ANNOTATION
          Annotation
ANNOTATION_MEMBER_VALUE_ARRAY_INITIALIZER
          MemberValueArrayInitializer
ARRAY_INDEX
          ArrayIndex
ARRAY_INITIALIZER
          ArrayInitializer
ASSIGMENT
          AssigmentExpression
BOOLEAN_LITERAL
          BooleanLiteral
CAST
          CastExpression
CHARACTER_LITERAL
          CharacterLiteral
CLASS_LITERAL
          ClassLiteral
CONDITIONAL
          ConditionalExpression
CONDITIONAL_AND
          ConditionalAndExpression
CONDITIONAL_OR
          ConditionalOrExpression
EQUALITY
          EqualityExpression
EXCLUSIVE_OR
          ExclusiveOrExpression
EXPRESSION
          expression with subexpression inside.
FIELD
          Field
FLOATING_POINT_LITERAL
          FloatingPointLiteral
FUNCTION_CALL
          FunctionCall
IDENTIFIER
          IDENTIFIER
INCLUSIVE_OR
          InclusiveOrExpression
INNER_ALLOCATION
          Inner allocation
INSTANCEOF
          InstanceOfExpression
INTEGER_LITERAL
          IntegerLiteral
METHOD_CALL
          MethodCall
MULTIPLICATIVE
          MultiplicativeExpression
NAME
          NAME
NULL_LITERAL
          NullLiteral
OBJECT_CONSTANT
          ObjectConstant
POSTFIX
          Postfix
PREDECREMENT
          PreIncrementExression
PREINCREMENT
          PreIncrementExression
RELATIONAL
          RelationalExpression
SHIFT
          ShiftExpression
SPECIALIZED_METHOD_CALL
          SpecializedMethodCall
STATIC_FIELD
          StaticField
STRING_LITERAL
          StringLiteral
SUPER
          Super
SUPER_PREFIX
          Super as primary prefix
SWITCH_CONSTANT
          SwitchConstant
THIS
          This
THIS_PREFIX
          This as primary prefix
TYPE_FIELD
          TYPE_FIELD
TYPE_NAME
          Name of type
UNARY
          UnaryExpression, UnaryNotPlusMinusExpression
 
Method Summary
static JavaExpressionKind valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static JavaExpressionKind[] 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

EXPRESSION

public static final JavaExpressionKind EXPRESSION
expression with subexpression inside.


ASSIGMENT

public static final JavaExpressionKind ASSIGMENT
AssigmentExpression


CONDITIONAL

public static final JavaExpressionKind CONDITIONAL
ConditionalExpression


CONDITIONAL_OR

public static final JavaExpressionKind CONDITIONAL_OR
ConditionalOrExpression


CONDITIONAL_AND

public static final JavaExpressionKind CONDITIONAL_AND
ConditionalAndExpression


INCLUSIVE_OR

public static final JavaExpressionKind INCLUSIVE_OR
InclusiveOrExpression


EXCLUSIVE_OR

public static final JavaExpressionKind EXCLUSIVE_OR
ExclusiveOrExpression


AND

public static final JavaExpressionKind AND
AndExpression


EQUALITY

public static final JavaExpressionKind EQUALITY
EqualityExpression


INSTANCEOF

public static final JavaExpressionKind INSTANCEOF
InstanceOfExpression


RELATIONAL

public static final JavaExpressionKind RELATIONAL
RelationalExpression


SHIFT

public static final JavaExpressionKind SHIFT
ShiftExpression


ADDITIVE

public static final JavaExpressionKind ADDITIVE
AdditiveExpression


MULTIPLICATIVE

public static final JavaExpressionKind MULTIPLICATIVE
MultiplicativeExpression


UNARY

public static final JavaExpressionKind UNARY
UnaryExpression, UnaryNotPlusMinusExpression


PREINCREMENT

public static final JavaExpressionKind PREINCREMENT
PreIncrementExression


PREDECREMENT

public static final JavaExpressionKind PREDECREMENT
PreIncrementExression


CAST

public static final JavaExpressionKind CAST
CastExpression


POSTFIX

public static final JavaExpressionKind POSTFIX
Postfix


INTEGER_LITERAL

public static final JavaExpressionKind INTEGER_LITERAL
IntegerLiteral


FLOATING_POINT_LITERAL

public static final JavaExpressionKind FLOATING_POINT_LITERAL
FloatingPointLiteral


CHARACTER_LITERAL

public static final JavaExpressionKind CHARACTER_LITERAL
CharacterLiteral


STRING_LITERAL

public static final JavaExpressionKind STRING_LITERAL
StringLiteral


BOOLEAN_LITERAL

public static final JavaExpressionKind BOOLEAN_LITERAL
BooleanLiteral


NULL_LITERAL

public static final JavaExpressionKind NULL_LITERAL
NullLiteral


THIS

public static final JavaExpressionKind THIS
This


THIS_PREFIX

public static final JavaExpressionKind THIS_PREFIX
This as primary prefix


SUPER

public static final JavaExpressionKind SUPER
Super


SUPER_PREFIX

public static final JavaExpressionKind SUPER_PREFIX
Super as primary prefix


CLASS_LITERAL

public static final JavaExpressionKind CLASS_LITERAL
ClassLiteral


ALLOCATION_EXPRESSION

public static final JavaExpressionKind ALLOCATION_EXPRESSION
AllocationExpression


INNER_ALLOCATION

public static final JavaExpressionKind INNER_ALLOCATION
Inner allocation


IDENTIFIER

public static final JavaExpressionKind IDENTIFIER
IDENTIFIER


FUNCTION_CALL

public static final JavaExpressionKind FUNCTION_CALL
FunctionCall


METHOD_CALL

public static final JavaExpressionKind METHOD_CALL
MethodCall


SPECIALIZED_METHOD_CALL

public static final JavaExpressionKind SPECIALIZED_METHOD_CALL
SpecializedMethodCall


FIELD

public static final JavaExpressionKind FIELD
Field


ARRAY_INDEX

public static final JavaExpressionKind ARRAY_INDEX
ArrayIndex


NAME

public static final JavaExpressionKind NAME
NAME


TYPE_NAME

public static final JavaExpressionKind TYPE_NAME
Name of type


TYPE_FIELD

public static final JavaExpressionKind TYPE_FIELD
TYPE_FIELD


STATIC_FIELD

public static final JavaExpressionKind STATIC_FIELD
StaticField


ARRAY_INITIALIZER

public static final JavaExpressionKind ARRAY_INITIALIZER
ArrayInitializer


SWITCH_CONSTANT

public static final JavaExpressionKind SWITCH_CONSTANT
SwitchConstant


OBJECT_CONSTANT

public static final JavaExpressionKind OBJECT_CONSTANT
ObjectConstant


ANNOTATION

public static final JavaExpressionKind ANNOTATION
Annotation


ANNOTATION_MEMBER_VALUE_ARRAY_INITIALIZER

public static final JavaExpressionKind ANNOTATION_MEMBER_VALUE_ARRAY_INITIALIZER
MemberValueArrayInitializer

Method Detail

values

public static JavaExpressionKind[] 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 (JavaExpressionKind c : JavaExpressionKind.values())
    System.out.println(c);

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

valueOf

public static JavaExpressionKind 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