public static boolean invokeMethodOn(@NotNull ExpressionGenerator generator,
                                       @NotNull GrGdkMethod method,
                                       @Nullable GrExpression caller,
                                       GrExpression @NotNull [] exprs,
                                       GrNamedArgument @NotNull [] namedArgs,
                                       GrClosableBlock @NotNull [] closures,
                                       @NotNull PsiSubstitutor substitutor,
                                       @NotNull GroovyPsiElement context) {
    final PsiMethod staticMethod = method.getStaticMethod();
    for (CustomMethodInvocator invocator : EP_NAME.getExtensions()) {
      if (invocator.invoke(generator, staticMethod, caller, exprs, namedArgs, closures, substitutor, context)) {
        return true;
      }
    }

    return false;
  }
public static boolean invokeMethodOn(@NotNull ExpressionGenerator generator,
                                       @NotNull GrGdkMethod method,
                                       @Nullable GrExpression caller,
                                       GrExpression @NotNull [] exprs,
                                       GrNamedArgument @NotNull [] namedArgs,
                                       GrClosableBlock @NotNull [] closures,
                                       @NotNull PsiSubstitutor substitutor,
                                       @NotNull GroovyPsiElement context)