PsiClass (@NotNull PsiClass psiClass) { return findCompiledElement(myProject, psiClass, scope -> { String fqn = psiClass.getQualifiedName(); return fqn != null ? Arrays.asList(JavaPsiFacade.getInstance(myProject).findClasses(fqn, scope)) : Collections.emptyList(); }); }