DefaultTreeModel (@NotNull ChangesGroupingPolicyFactory grouping, @NotNull List<? extends VirtualFile> changes) { return super.buildTreeModel(grouping, ContainerUtil.filter(changes, VirtualFile::isValid)); }