List<PsiClass> (@NotNull String qualifiedName, @NotNull GlobalSearchScope scope) { List<PsiClass> result = null; final List<PsiClass> ownClasses = findClassesWithoutJvmFacade(qualifiedName, scope); if (!ownClasses.isEmpty()) { result = new ArrayList<>(ownClasses); } final List<JvmClass> jvmClasses = myJvmFacade.getValue().findClassesWithoutJavaFacade(qualifiedName, scope); if (!jvmClasses.isEmpty()) { final List<PsiClass> jvmPsiClasses = ContainerUtil.map(jvmClasses, it -> myConversionHelper.convertTypeDeclaration(it)); if (result == null) { result = new ArrayList<>(jvmPsiClasses); } else { result.addAll(jvmPsiClasses); } } return result == null ? Collections.emptyList() : result; }