List<PropertyGroup> (@NotNull StructureViewComponent svc) { TreeModel model = svc.getTree().getModel(); Object first = TreeUtil.getFirstNodePath(svc.getTree()).getLastPathComponent(); return TreeUtil.nodeChildren(first, model).map(TreeUtil::getUserObject) .filter(GroupWrapper.class).map(o -> o.getValue()).filter(PropertyGroup.class) .toList(); }