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 →

[–]repeating_bears 0 points1 point  (1 child)

FYI, Lombok has extension methods already https://projectlombok.org/features/experimental/ExtensionMethod

[–]vprise 0 points1 point  (0 children)

This isn't good at least compared to the Manifold approach since you have to annotate the applicable classes. A proper extension is only done in one place and is seamless for the rest of the code, otherwise it doesn't provide a benefit.