StatisticsInfo (List<? extends StatisticsInfo> conjuncts) { if (conjuncts.isEmpty()) { return EMPTY; } ArrayList<StatisticsInfo> flattened = new ArrayList<>(conjuncts.size()); for (StatisticsInfo conjunct : conjuncts) { flattened.addAll(conjunct.getConjuncts()); } return new StatisticsInfo(conjuncts.get(0).getContext(), conjuncts.get(0).getValue(), flattened); }