boolean (@NotNull Project project, Editor editor, PsiFile file) { if (myInterfaceName == null) return false; JavaPsiFacade psiFacade = JavaPsiFacade.getInstance(project); GlobalSearchScope projectScope = GlobalSearchScope.projectScope(project); return psiFacade.findClass(myInterfaceName, projectScope) == null && isQualifierInProject(myInterfaceName, project); }