code: public List getList(String name) {
          Object paramValues = get(name);
          if (paramValues == null) {
              return Collections.emptyList();
          }
          if (paramValues.getClass().isArray()) {
              return Arrays.asList((Object[])paramValues);
          }
          if (paramValues instanceof Collection) {
              return new ArrayList((Collection)paramValues);
          }
          return Collections.singletonList(paramValues);
      }
docs: Helper method for obtaining a list of values from parameter
  @param name The name of the parameter
  @return A list of values