public boolean equals(final Object o){
    if (this == o) return true;
    if (!(o instanceof MyEditorState state)) return false;

    if (myDocumentModificationStamp != state.myDocumentModificationStamp) return false;
    if (!Arrays.equals(mySelectedComponentIds, state.mySelectedComponentIds)) return false;

    return true;
  }
public boolean equals(final Object o)