@Contract("null -> null")
  @Nullable
  private static String nearestAccessibleBaseClassName(@Nullable PsiClass psiClass) {
    while (psiClass != null && !isAccessible(psiClass)) {
      psiClass = psiClass.getSuperClass();
    }

    return psiClass == null ? null : psiClass.getQualifiedName();
  }
@Contract("null -> null")
  @Nullable
  private static String nearestAccessibleBaseClassName(@Nullable PsiClass psiClass)