How about the reflection variant? You won't need to edit any of the target
code.
Gary
On Sun, Jul 9, 2023, 09:51 Gilles Sadowski wrote:
> Hi.
>
> In the Javadoc of the "DiffBuilder" class[1]:
> ---CUT---
> [...]
> To use this class, write code as follows:
>
> public class Person implements
Hi.
In the Javadoc of the "DiffBuilder" class[1]:
---CUT---
[...]
To use this class, write code as follows:
public class Person implements Diffable {
String name;
int age;
boolean smoker;
[...]
---CUT---
However, a common use-case would be that we can't directly
modify the class whose