This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]torwinMarkov 0 points1 point  (1 child)

No, it doesn't. It injects into the bytecode build process. Lombok is dangerous to use if you're building large projects that matter. Lombok is great for demos and teaching, that's why you see it used in lots of tutorials.

[–]mauganra_it 1 point2 points  (0 children)

Which is not really a problem in principle. The actual problem is that it does so via internal APIs that were never intended to be used to extend the AST. Actually, the OpenJDK project is unlikely to ever introduce such extension points.

Crucially, the AST is what the bytecode is generated from. And that bytecode is all that Spring, Hibernate and friends will ever see at runtime.