StructureViewTreeElement () { XmlFile file = getPsiFile(); if (DescriptorUtil.isPluginXml(file)) { XmlTag rootTag = file.getRootTag(); if (rootTag != null) { return new PluginDescriptorTreeElement(rootTag, true, true); } } // shouldn't happen; just for additional safety return super.getRoot(); }