public boolean equals(final Object obj) {
    if (!(obj instanceof StackFrameProxyImpl frameProxy)) {
      return false;
    }
    if (frameProxy == this) return true;

    return (myFrameFromBottomIndex == frameProxy.myFrameFromBottomIndex) &&
           (myThreadProxy.equals(frameProxy.myThreadProxy));
  }
public boolean equals(final Object obj)