boolean (@NotNull StructureViewTreeElement element) { if (element.getValue() instanceof StructureViewComposite.StructureViewDescriptor) return true; for (ExpandInfoProvider p : getModels().filter(ExpandInfoProvider.class)) { if (p.isAutoExpand(element)) return true; } return false; }