@Override
    public void trackDeclaration(@NotNull PsiElement declaration) {
      TextRange range = getRange(declaration);
      if (range == null) {
        throw new IllegalArgumentException("Element disappeared after postponed operations: " + declaration);
      }
      range = mapRange(range);
      String oldText = myTracker.myCopyFile.getText();
      myTrackedDeclarations.add(new ModUpdateReferences(myNavigationFile, oldText, range, range));
    }
@Override
    public void trackDeclaration(@NotNull PsiElement declaration)