Collection<StructureViewTreeElement> (XmlTag[] subTags) { return ContainerUtil.map(subTags, xmlTag -> { for (final XmlStructureViewElementProvider provider : XmlStructureViewElementProvider.EP_NAME.getExtensionList()) { final StructureViewTreeElement element = provider.createCustomXmlTagTreeElement(xmlTag); if (element != null) { return element; } } return new XmlTagTreeElement(xmlTag); }); }