boolean (PsiPackage package1, PsiPackage package2) { return package2 == package1 || package2 != null && package1 != null && Comparing.strEqual(package2.getQualifiedName(), package1.getQualifiedName()); }