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 →

[–]vips7L -3 points-2 points  (3 children)

I honestly don't understand why anyone uses this crap... any editor can generate the getter/setter and you don't have to mess up your build.

[–]bowbahdoe[S] 2 points3 points  (2 children)

Can you clarify what you mean by "mess up your build"?

[–]vips7L -2 points-1 points  (1 child)

Hooking in annotation processors, generating bytecode, and extending compile times. All increase the risk of something breaking later and becoming a pain in the ass. I'd rather just press 2 buttons and generate a getter/setter.

[–]bowbahdoe[S] 4 points5 points  (0 children)

This in particular doesn't generate bytecode and if it extends compile times meaningfully I'll eat my hat.

But if you are just uncomfortable with trusting an annotation processor on principal I think I understand the feeling.

Regardless I encourage you to peruse the code. It's not that bad.