boolean (@NotNull PsiMember member, @Nullable PsiClass memberClass, @Nullable PsiModifierList modifierList, @NotNull PsiElement place, @Nullable PsiClass accessObjectClass, @Nullable PsiElement fileResolveScope) { if (place instanceof PsiDirectory && modifierList != null && accessObjectClass == null && PsiUtil.getAccessLevel(modifierList) == PsiUtil.ACCESS_LEVEL_PACKAGE_LOCAL) { PsiPackage aPackage = JavaDirectoryService.getInstance().getPackage((PsiDirectory)place); return aPackage != null && JavaPsiFacade.getInstance(member.getProject()).isInPackage(member, aPackage); } return isAccessible(member, memberClass, modifierList, place, accessObjectClass, fileResolveScope, place.getContainingFile()); }