boolean (boolean requestFocus, boolean tryNotToScroll, @Nullable Navigatable navigatable) { if (navigatable == null) { return false; } if (Registry.is("ide.navigation.requests")) { Project project = OpenSourceUtilKt.findProject(navigatable); if (project != null) { return OpenSourceUtilKt.navigateToSource(project, requestFocus, tryNotToScroll, navigatable); } } if (!navigatable.canNavigateToSource()) { return false; } if (tryNotToScroll && navigatable instanceof StatePreservingNavigatable) { ((StatePreservingNavigatable)navigatable).navigate(requestFocus, true); } else { navigatable.navigate(requestFocus); } return true; }