void (Collection<PsiClass> classes, File jdkHome, PsiClass usageInProject) { assertTrue(classes.contains(usageInProject)); for (PsiClass cls : classes) { if (cls == usageInProject) continue; VirtualFile file = PsiUtilCore.getVirtualFile(cls); assertNotNull(file); assertTrue(file.getPath(), FileUtil.startsWith(file.getPath(), FileUtil.toSystemIndependentName(jdkHome.getPath()), true)); } }