@Override
  public void markDeclarationsAsEquivalent(PsiElement element1, PsiElement element2) {
    declarationEquivalence.put(element1, element2);
  }
@Override
  public void markDeclarationsAsEquivalent(PsiElement element1, PsiElement element2)