Hi, What about using java Record starting from java 21?
regards, François On 14/08/2024 14:51, Hans Van Akelyen wrote:
Hi All, I would like to propose to add Project Lombok [1] to our project. Lombok allows us to generate some boilerplate code on the fly feel free to take a look at the feature list [2]. This will allow us to focus on the code without having to worry about getters/setters and their naming convention. It seamlessly integrates with IntelliJ and is MIT licensed. Quote from the project: Lombok is a Java library that provides annotations to simplify Java development by automating the generation of boilerplate code. Key features include automatic generation of getters, setters, equals, hashCode, and toString methods, as well as a facility for automatic resource management. It aims to reduce the amount of manual coding, thereby streamlining the codebase and reducing potential for errors. Cheers, Hans [1] https://projectlombok.org/ [2] https://projectlombok.org/features/