boolean (final Object o) { if (this == o) return true; if (!(o instanceof IndexedAnchor that)) return false; if (myIndex != that.myIndex) return false; if (myDescr != null ? !myDescr.equals(that.myDescr) : that.myDescr != null) return false; if (myParent != null ? !myParent.equals(that.myParent) : that.myParent != null) return false; return true; }