boolean (PsiMember member) { if (member instanceof PsiClass && LanguageLevelUtil.getLastIncompatibleLanguageLevel(member, PsiUtil.getLanguageLevel(element)) == null) { if (!JavaPsiFacade.getInstance(project).getResolveHelper().isAccessible(member, element, null)) { return true; } types.addAll(acceptanceChecker.apply((PsiClass)member)); } return true; }