boolean isSuperClassForBaseClass(PsiClass aClass) {
    PsiMethod baseMethod = getBaseMethod();
    if (baseMethod == null) {
      return false;
    }
    PsiClass baseClass = baseMethod.getContainingClass();
    if (baseClass == null) {
      return false;
    }
    // NB: parameters here are at CORRECT places!!!
    return baseClass.isInheritor(aClass, true);
  }
boolean isSuperClassForBaseClass(PsiClass aClass)