List<Change> (@NotNull Change change) { ChangesBrowserNode<?> node = findNodeInTree(change); if (node == null) return null; ChangesBrowserNode<?> parent; if (Registry.is("vcs.skip.single.default.changelist") || !ChangeListManager.getInstance(myProject).areChangeListsEnabled()) { parent = getRoot(); } else { parent = findParentOfType(node, ChangesBrowserChangeListNode.class); } if (parent == null) return null; return parent.traverseObjectsUnder() .filter(Change.class) .toList(); }