public boolean equals(Object object) {
    if (!(object instanceof StaticFieldData fieldData)) {
      return false;
    }
    return (fieldData.myField == myField);
  }
public boolean equals(Object object)