4. Modifications
You can use the auto generated builder to modify serializable classes easily!
Instead of the lamda approach, you can also create a builder instance by calling toBuilder on an object with builder capabilities and later instantiate the new object by calling build.
You have run run the code generation to generate and regenerate builders. They are not generated for bean-type models, consider mutating the fields for those classes.
Models can also be cloned and modified using the copy methods on DogEngine.
Last updated