docs: static Object[] paramsForStatement(AdHocPlannedStatement statement, Object[] userparams) {
          // When there are no user-provided parameters, statements may have parameterized constants.
          if (userparams.length > 0) {
              return userparams;
          } else {
              return statement.extractedParamArray();
          }
      }