boolean (@NotNull JTree tree, @NotNull SelectionDescriptor selectionDescriptor) { List<? extends TreePath> adjustedPaths = ProjectViewPaneSelectionHelper.getAdjustedPaths(selectionDescriptor); adjustedPaths.forEach(it -> tree.expandPath(it)); TreeUtil.selectPaths(tree, adjustedPaths); if (SelectInProjectViewImplKt.getLOG().isDebugEnabled()) { SelectInProjectViewImplKt.getLOG().debug("Selected paths adjusted according to " + selectionDescriptor + ": " + adjustedPaths); } return true; }