Lombok with Play 2
- by Alex Povar
What about Lombok integration with Play Framework 2?
I really like Lombok it make my code more readable and less boilerplate. And Play Framework is wonderful too. But there is a great trouble in case if you going to mixup them.
Main reason is that scala temlates in play project compiled before domain classes. So Lombok, which itself is compiler's hack do not generate accessors for that time.
The question is: if it any ways to make it work?
I found some discussions in Google Groups, but they do not provide any reasonable solution. So have you got any success with it?
And.. why guys from Play Framework project do not provide some Lombok-like solution? Anyway Play is full of code-generation magic and shadow compiling... so, why not?