Haralds Blog — Java Wishlist: Non Null Type Definitions

Lombok can again help us with the boilerplate of guarding against null values in method parameters. However, it is still important to have automated unit tests for this generated code. #java #Lombok #NonNull #tdd #stepByStep

http://codingchica.com/2023/08/09/lombok-nonnull/

Lombok NonNull

Java null checks can get very long. They can clutter the rest of the code, making it more difficult to see important logic. Lombok @NonNull annotation will help us hide some of that boilerplate, bu…

Coding Chica