@Nullable
  PsiMethod getMethod(PsiClass aClass, boolean checkBases) {
    try {
      return MethodHierarchyUtil.findBaseMethodInClass(myTreeStructure.getBaseMethod(), aClass, checkBases);
    }
    catch (IndexNotReadyException e) {
      return null;
    }
  }
@Nullable
  PsiMethod getMethod(PsiClass aClass, boolean checkBases)