boolean (@NotNull Project project, Navigatable @NotNull [] navigatables, @Nullable Runnable callback) { FileNavigatorImpl fileNavigator = (FileNavigatorImpl)FileNavigator.getInstance(); boolean success = false; for (Navigatable navigatable : navigatables) { success |= fileNavigator.navigateIgnoringContextEditor(navigatable); } if (success && callback != null) { callback.run(); } return success; }