public static PsiClass getTopLevelParentClass(PsiClass psiClass) {
    return PsiTreeUtil.getTopmostParentOfType(psiClass, PsiClass.class);
  }
public static PsiClass getTopLevelParentClass(PsiClass psiClass)