diff --git a/src/main/antlr4/astRefactor/astRefactor.g4 b/src/main/antlr4/astRefactor/astRefactor.g4 index a8399a89..93b89ef4 100644 --- a/src/main/antlr4/astRefactor/astRefactor.g4 +++ b/src/main/antlr4/astRefactor/astRefactor.g4 @@ -117,8 +117,8 @@ WILDCARDTYPE : 'wildcardtype'; SUPERWILDCARDTYPE : 'superwildcardtype'; TYPEPLACEHOLDER : 'typeplaceholder'; GENERICREFTYPE : 'genericreftype'; -THIS : 'this()'; -SUPER : 'super()'; +THIS : 'this'; +SUPER : 'super'; FIELDVAR : 'fieldvar'; NEWARRAY : 'new ArrayList<>()'; LITERAL : 'literal'; @@ -138,8 +138,8 @@ LOCALVAR : 'localvar'; RETURN : 'return'; RETURNVOID : 'return void'; METHODCALL : 'methodcall'; -THISCALL : 'this'; -SUPERCALL : 'super'; +THISCALL : 'this()'; +SUPERCALL : 'super()'; NEWCLASS : 'newclass'; UNARYEXPR : ('+' | '-' | '++' | '--' | '!'); CLASSNAME : UPPERCASE ( LOWERCASE | UPPERCASE)*;