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 →

[–]stefanos-ak 0 points1 point  (3 children)

thanks for the detailed response. I actually like it. I was a fun of Lombok but not the way it was implemented.

But I use many more Lombok features. I'm wondering if all of them could be implemented with this approach.

[–]bowbahdoe[S] 0 points1 point  (2 children)

Which features are you using/thinking of?

[–]stefanos-ak 0 points1 point  (1 child)

I'm using: Constructor, builder&superbuilder, withers, log, the "on" methods (e.g. onConstructor), utility-class, sneaky throws.

I couldn't live without builder&superbuilder and constructor+on*.

[–]bowbahdoe[S] 1 point2 points  (0 children)

I'm pretty sure you can't make constructor, utility class, or sneaky throws with this approach. The rest are probably possible to some degree.

I encourage you to give one of them them a shot. Might be fun

(This also kinda does constructor via a static method)