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