code: @SuppressWarnings("rawtypes")
      protected String[] parseSequenceParameter(Map params, String paramName) throws TemplateModelException {
          Object paramModel = params.get(paramName);
          if (paramModel == null) {
              return null;
          }
          if (!(paramModel instanceof SimpleSequence)) {
              throw new IllegalArgumentException(paramName + " must be sequence");
          }
          List<String> list = transformSimpleSequenceAsStringList((SimpleSequence)paramModel, paramName);
          return list.toArray(new String[0]);
      }
docs: Parse sequence parameter.
  
  @param params the params
  @param paramName the param name
  @return the string [ ]
  @throws TemplateModelException the template model exception