Organized Constants
@@ -2,15 +2,14 @@ package org.refactoringminer.astDiff.matchers;
public class Constants {
+ // AST node type labels
public static final String ASSIGNMENT = "Assignment";
- public static final String ASSIGNMENT_OPERATOR = "ASSIGNMENT_OPERATOR";
public static final String METHOD_INVOCATION = "MethodInvocation";
public static final String METHOD_DECLARATION = "MethodDeclaration";
public static final String TRY_STATEMENT = "TryStatement";
public static final String CATCH_CLAUSE = "CatchClause";
public static final String BLOCK = "Block";
public static final String VARIABLE_DECLARATION_FRAGMENT = "VariableDeclarationFragment";
-
public static final String FIELD_DECLARATION = "FieldDeclaration";
public static final String ACCESS_MODIFIER = "AccessModifier";
public static final String PACKAGE_DECLARATION = "PackageDeclaration";
@@ -24,7 +23,12 @@ public class Constants {
public static final String PRIMITIVE_TYPE = "PrimitiveType";
public static final String TYPE_DECLARATION = "TypeDeclaration";
public static final String ENUM_DECLARATION = "EnumDeclaration";
+
+ // AST node property labels
+ public static final String ASSIGNMENT_OPERATOR = "ASSIGNMENT_OPERATOR";
public static final String TYPE_DECLARATION_KIND = "TYPE_DECLARATION_KIND";
+
+ // Keyword labels
public static final String TRANSIENT = "transient";
public static final String VOLATILE = "volatile";
public static final String SYNCHRONIZED = "synchronized";
