docs: private static void addAllParametersAsSingleString(List<String> resultList, String commandLine, Map<String, String> prms)
      {
          List<String> raw = new ArrayList<>(prms.size() * 2);
  
          // Command itself
          raw.add(commandLine);
  
          // Parameters, ordered by key
          List<String> keys = new ArrayList<>(prms.keySet());
          Collections.sort(keys, prmComparator);
          for (String p : keys)
          {
              if (!prms.get(p).trim().isEmpty())
              {
                  raw.add(prms.get(p).trim());
              }
          }
  
          if (!raw.isEmpty())
          {
              resultList.add(StringUtils.join(raw, " "));
          }
      }