private static @Nullable GrNamedArgumentsOwner getNamedArgumentsOwner(@NotNull GrNewExpression newExpression) {
      var argList = newExpression.getArgumentList();
      if (argList == null) return null;
      var expressionArguments = argList.getExpressionArguments();
      var namedArguments = argList.getNamedArguments();
      if (expressionArguments.length == 1 && namedArguments.length == 0 && expressionArguments[0] instanceof GrListOrMap) {
        return (GrNamedArgumentsOwner)expressionArguments[0];
      }
      else if (expressionArguments.length == 0) {
        return argList;
      }
      else {
        return null;
      }
    }
private static @Nullable GrNamedArgumentsOwner getNamedArgumentsOwner(@NotNull GrNewExpression newExpression)