String[] (List<? extends ParamInfo> listOfPairs) { final ArrayList<String> result = new ArrayList<>(); for (ParamInfo listOfPair : listOfPairs) { String name = listOfPair.name; result.add(name); } return ArrayUtilRt.toStringArray(result); }