public static void invokeMethodByName(@Nullable GrExpression caller,
                                        @NotNull String methodName,
                                        GrExpression @NotNull [] exprs,
                                        GrNamedArgument @NotNull [] namedArgs,
                                        GrClosableBlock @NotNull [] closureArgs,
                                        @NotNull ExpressionGenerator expressionGenerator,
                                        @NotNull GroovyPsiElement psiContext) {
    GroovyResolveResult call = resolveMethod(caller, methodName, exprs, namedArgs, closureArgs, psiContext);
    invokeMethodByResolveResult(caller, call, methodName, exprs, namedArgs, closureArgs, expressionGenerator, psiContext);
  }
public static void invokeMethodByName(@Nullable GrExpression caller,
                                        @NotNull String methodName,
                                        GrExpression @NotNull [] exprs,
                                        GrNamedArgument @NotNull [] namedArgs,
                                        GrClosableBlock @NotNull [] closureArgs,
                                        @NotNull ExpressionGenerator expressionGenerator,
                                        @NotNull GroovyPsiElement psiContext)