boolean (@NotNull Project project, @NotNull List<String> fqns) { if (fqns.isEmpty()) return false; JavaPsiFacade facade = JavaPsiFacade.getInstance(project); GlobalSearchScope scope = GlobalSearchScope.allScope(project); return ContainerUtil.all(fqns, fqn -> facade.findClass(fqn, scope) == null); }