How to run code after constructor in a Lombok builder

In Foo you could manually add a constructor, have that do the initialization, and put @Builder on the constructor. I know that you already know this, but I think it is the right solution, and you won’t forget to add the parameter since you do want to use the code in the builder anyway.

Disclosure: I am a lombok developer.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)