innerbuilder icon indicating copy to clipboard operation
innerbuilder copied to clipboard

Support fields prefixes

Open julioyg opened this issue 9 years ago • 4 comments

When the POJO fields are prefixed, i.e with m --> private String mName the guilder with generated method is withMName(String val) is there any way to change it to be withName(String name) (as well as the param name)?

julioyg avatar Oct 14 '15 11:10 julioyg

Same issue/question.

All of our private internal class variables start with _, for example _id.

When using the builder, this creates build methods named public void _id(UUID id).

Ideally, the methods would be public void id(UUID id).

By specifying a prefix, we could provide _ and then everything would look "nicer".

Otherwise 👍 on the plugin!

nkoterba avatar Apr 12 '16 17:04 nkoterba

Any update here?

johnernest02 avatar Aug 17 '17 05:08 johnernest02

This would be a great addition. Any news?

GuilhE avatar Feb 16 '18 11:02 GuilhE

I came to this page to open this myself. Is this project still open? I'd be happy to try and submit a PR myself.

Edit: It seems like the last commit was to remove the link to the twitter account to follow development, so I'm not sure this is maintained. In case anyone is here, I found this project builder-generator-idea-plugin, which seems to have this feature, so I'm switching to this. Hope that's helpful!

andy-gorman avatar Sep 13 '18 14:09 andy-gorman