boolean (@NotNull String refSuffix, @NotNull Editor editor) { Project project = editor.getProject(); if (project == null) return false; PsiElement aClass = JavaPsiFacade.getInstance(project).findClass(refSuffix, GlobalSearchScope.allScope(project)); if (aClass == null) return false; NavigationUtil.activateFileWithPsiElement(aClass); return true; }