Re: [Lang] Advice on "Diff" usage

2023-07-09 Thread Gary Gregory
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

[Lang] Advice on "Diff" usage

2023-07-09 Thread Gilles Sadowski
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