void (@Nullable BlockTreeNode currentBlockNode) { if (myTreeModel == null) return; if (currentBlockNode != null) { TreeUtil.promiseSelect(myBlockTree, createVisitor(currentBlockNode)); } else { myBlockTree.getSelectionModel().clearSelection(); } }