private static boolean isAccessibleLight(@NotNull PsiClass inheritorCandidate,
                                           @NotNull PsiFile inheritorCandidateContainingFile,
                                           @NotNull PsiClass base) {
    PsiModifierList modifierList = base.getModifierList();
    if (modifierList != null && PsiUtil.getAccessLevel(modifierList) == PsiUtil.ACCESS_LEVEL_PROTECTED) {
      return true; // requires hierarchy checks => resolve
    }

    return JavaResolveUtil.isAccessible(base, base.getContainingClass(), modifierList, inheritorCandidate, null, null, inheritorCandidateContainingFile);
  }
private static boolean isAccessibleLight(@NotNull PsiClass inheritorCandidate,
                                           @NotNull PsiFile inheritorCandidateContainingFile,
                                           @NotNull PsiClass base)