ExpressionParser { static Parser<Expression> simpleMethodCall(Parser<Expression> arg) { return Parsers.sequence( Terminals.Identifier.PARSER, argumentList(arg), (name, args) -> new MethodCallExpression(null, TypeLiteralParser.EMPTY_TYPE_ARGUMENT_LIST, name, args)); }  static Parser<Expression> expression(
      Parser<DefBody> classBody, Parser<Statement> statement); static Parser<Expression> arrayInitializer(Parser<Expression> expr);  }
@Test public void testSimpleMethodCall() { TerminalParserTest.assertResult(ExpressionParser.simpleMethodCall(ExpressionParser.IDENTIFIER), "f(a,b)", MethodCallExpression.class, "f(a, b)"); }