private static boolean isTheSameMethod(PsiMethod method, PsiManager psiManager, PsiMethod m) {
    return psiManager.areElementsEquivalent(m, method) || psiManager.areElementsEquivalent(m.getNavigationElement(), method);
  }
private static boolean isTheSameMethod(PsiMethod method, PsiManager psiManager, PsiMethod m)