List<IndentUsageInfo> (@NotNull Int2IntMap indentToUsages) { List<IndentUsageInfo> indentUsageInfos = new ArrayList<>(indentToUsages.size()); for (Int2IntMap.Entry entry : indentToUsages.int2IntEntrySet()) { indentUsageInfos.add(new IndentUsageInfo(entry.getIntKey(), entry.getIntValue())); } return indentUsageInfos; }