ModuleDescriptor (final List<? extends ModuleDescriptor> entries) { final ModuleInsight insight = getInsight(); ModuleDescriptor mainDescr = null; for (ModuleDescriptor entry : entries) { if (mainDescr == null) { mainDescr = entry; } else { insight.merge(mainDescr, entry); } } return mainDescr; }