boolean (@NotNull PsiMember member, @Nullable PsiModifierList modifierList, @NotNull PsiElement place, @Nullable PsiClass accessObjectClass, @Nullable PsiElement currentFileResolveScope) { PsiClass containingClass = member.getContainingClass(); boolean accessible = JavaResolveUtil.isAccessible(member, containingClass, modifierList, place, accessObjectClass, currentFileResolveScope); if (accessible && member instanceof PsiClass && !(member instanceof PsiTypeParameter)) { accessible = isAccessible(moduleSystem -> moduleSystem.isAccessible(((PsiClass)member), place)); } return accessible; }