void (@NotNull RestorableStateNode node, @NotNull String name) { final TreePath path = node.getPath(); if (path.getPathCount() == 2) { ApplicationManager.getApplication().invokeLater(() -> expandPath(path)); removeTreeListener(this); } }