String (final String qualifiedName, PsiElement contextElement, Project project) { if (contextElement == null) { return qualifiedName; } final JavaPsiFacade facade = JavaPsiFacade.getInstance(project); PsiClass aClass = facade.findClass(qualifiedName, GlobalSearchScope.allScope(project)); if (aClass != null) { return normalizePsiClass(aClass, contextElement, facade.getResolveHelper()); } return qualifiedName; }