void (@NotNull Object element, Runnable onDone, boolean deferred, boolean canBeCentered, boolean scrollToVisible, boolean canSmartExpand) { Runnable _onDone = new TreeRunnable("AbstractTreeUi.doSelect") { @Override public void perform() { if (!checkDeferred(deferred, onDone)) return; checkPathAndMaybeRevalidate(element, new TreeRunnable("AbstractTreeUi.doSelect: checkPathAndMaybeRevalidate") { @Override public void perform() { selectVisible(element, onDone, true, canBeCentered, scrollToVisible); } }, true, canSmartExpand); } }; _expand(element, _onDone, true, false, canSmartExpand); }