protected boolean isAccessible(final PsiElement element) {
    if (element instanceof PsiMember member) {
      return JavaResolveUtil.isAccessible(member, member.getContainingClass(), member.getModifierList(), this, null, null);
    }
    return true;
  }
protected boolean isAccessible(final PsiElement element)