private static boolean isVisible(@NotNull PsiMember element, PsiClass psiClass) {
    return !isInheritedConstructor(element, psiClass) && PsiUtil.isAccessible(element, psiClass, null);
  }
private static boolean isVisible(@NotNull PsiMember element, PsiClass psiClass)