docs: static SQLStmt createWithPlan(byte[] sqlText,
                                    long aggFragId,
                                    byte[] aggPlanHash,
                                    boolean isAggTransactional,
                                    long collectorFragId,
                                    byte[] collectorPlanHash,
                                    boolean isCollectorTransactional,
                                    boolean isReplicatedTableDML,
                                    boolean isReadOnly,
                                    VoltType[] params,
                                    SiteProcedureConnection site) {
          SQLStmt stmt = new SQLStmt(sqlText, null);
  
          stmt.aggregator = new SQLStmt.Frag(aggFragId, aggPlanHash, isAggTransactional);
  
          if (collectorFragId > 0) {
              stmt.collector = new SQLStmt.Frag(collectorFragId, collectorPlanHash, isCollectorTransactional);
          }
  
          /*
           * Fill out the parameter types
           */
          if (params != null) {
              stmt.statementParamTypes = new byte[params.length];
              for (int i = 0; i < params.length; i++) {
                  stmt.statementParamTypes[i] = params[i].getValue();
              }
          }
  
          stmt.isReadOnly = isReadOnly;
          stmt.isReplicatedTableDML = isReplicatedTableDML;
          stmt.inCatalog = false;
  
          stmt.site = site;
  
          return stmt;
      }