@Override
  public boolean equals(@Nullable Object obj) {
    if (this == obj) {
      return true;
    }
    if (obj == null || getClass() != obj.getClass()) {
      return false;
    }
    ContextChain other = (ContextChain) obj;
    return Objects.equals(getNodeString(), other.getNodeString())
        && (Objects.equals(mParent, other.mParent));
  }
Get serialized representation of ContextChain node

@return serialized string
fbcore/src/main/java/com/facebook/common/callercontext/ContextChain.java