void (Element root, T model) { List<Element> entriesElements = root.getChildren(IdeaXml.CONTENT_ENTRY_TAG); if (entriesElements.isEmpty()) { // todo C[] entries = getEntries(model); if (entries.length > 0) { readContentEntry(root, entries[0], model); } } else { for (Element element : entriesElements) { readContentEntry(element, createContentEntry(model, element.getAttributeValue(IdeaXml.URL_ATTR)), model); } } }