code: public void setMappings(List<String> mappings) {
          if (mappings.size() > 0) {
              @SuppressWarnings("unchecked") Pair<String, String>[] renames = (Pair<String, String>[])Array.newInstance(Pair.class, mappings.size());
              for (int i = 0; i < _renames.length; ++i) {
                  String[] names = mappings.get(i).split("[ ,]+");
                  renames[i] = new Pair<String, String>(names[0], names[1]);
              }
              _renames = renames;
          }
      }
docs: Defines parameter mappings. One parameter can be mapped to multiple new names, so a list is used instead of a map as the input to this method.