boolean (Object object) { if (this == object) { return true; } if (object instanceof DesignerEditorState state) { return myModificationStamp == state.myModificationStamp && myZoom == state.myZoom; } return false; }