@Override
  public boolean equals(Object o) {
    if (this == o) return true;
    if (o == null || getClass() != o.getClass()) return false;

    DelegatingPsiElementWithSymbolPointer pointer = (DelegatingPsiElementWithSymbolPointer)o;

    if (!myDeclarationElement.equals(pointer.myDeclarationElement)) {
      return false;
    }

    return Objects.equals(mySymbolPointer.dereference(), pointer.mySymbolPointer.dereference());
  }
@Override
  public boolean equals(Object o)