StructureViewBuilder (@NotNull XmlFile file) { if (!DescriptorUtil.isPluginXml(file)) { return null; } return new TreeBasedStructureViewBuilder() { @NotNull @Override public StructureViewModel createStructureViewModel(@Nullable Editor editor) { return new PluginDescriptorXmlStructureViewModel(file, editor); } @Override public boolean isRootNodeShown() { return false; } }; }