@Override
public SerializedType doUpcast(SerializedType serializedType) {
// we describe the refactoring that we have done. Since we want to simulate a new revision and need to
// change the class name, we pass both details in the returned SerializedType.
return new SimpleSerializedType(NewToDoItemWithDeadlineCreatedEvent.class.getName(), "1.1");
}