Categories


Authors:
mogthew
free software

GenerateStaticBuilder

Products: IntelliJ IDEA

Vendor: Moginc

Email: N/A

Website: N/A

Description:

Generates a builder in an static inner class
Downloads: 2220
Rating:
Participated in rating: 1
Version Since Build Until Build File/URL Size (Kb) Date Details
1.0.3. 80.8000. . Download 5.49 2011-04-11 12:59:55 details
. .
3 updates are hidden show all updates

Recent change notes:

Fixed full class names appearing, should use presentable class names now. May require manual changing in exceptional circumstances.

General usage instructions:

Alt+Insert to insert a static inner class builder.

Comments:

elhoo
Rated:
2011-04-05 14:48:13
Works well, but I have some suggestions:

I want the builder to be outside the class (and in another package), thus I want to it to use setters (ie. instead of "obj.id = id" I want "obj.setId(id)". It would also be good if it asked where to save the builder (but it's okay to generate as an inner class since it is very easy to move it anyway).

Another thing that I do is adding default values in the constructor. Is it possible to auto-generate that code as well? (ie. "obj.setId(1)")

thanks!

Ps, where is the code? If you want I can help you with the above
.