private boolean isAmbiguousInherited(PsiClass containingClass1) {
    PsiClass psiClass = PsiTreeUtil.getContextOfType(myPlace, PsiClass.class);
    if (psiClass instanceof PsiAnonymousClassImpl && ((PsiAnonymousClassImpl)psiClass).isBaseClassReference(myPlace)) {
      psiClass = PsiTreeUtil.getContextOfType(psiClass, PsiClass.class);
    }
    while (psiClass != null) {
      if (psiClass.isInheritor(containingClass1, false)) {
        return true;
      }
      psiClass = psiClass.getContainingClass();
    }
    return false;
  }
private boolean isAmbiguousInherited(PsiClass containingClass1)