void (@NotNull NavigationItem item, boolean requestFocus, boolean useCurrentWindow) { if (item instanceof UserDataHolder) { ((UserDataHolder)item).putUserData(FileEditorManager.USE_CURRENT_WINDOW, useCurrentWindow); } item.navigate(requestFocus); if (item instanceof UserDataHolder) { ((UserDataHolder)item).putUserData(FileEditorManager.USE_CURRENT_WINDOW, null); } }