void (@Nullable Project project, @NotNull String jvmFqn, boolean requestFocus) { PsiElement classElement = findClassByFqn(project, jvmFqn); if (classElement != null) { PsiElement navigationElement = classElement.getNavigationElement(); if (navigationElement instanceof Navigatable) { ((Navigatable)navigationElement).navigate(requestFocus); } else { PsiNavigateUtil.navigate(classElement, requestFocus); } } }