6004 GenerateStaticBuilder Code tools 15 Moginc 4 2971 mogthew 2011-04-11 1.0.3


Compatible with  IntelliJ IDEA
2 971
Generates a builder in an static inner class

Download plugin

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.
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)")


Ps, where is the code? If you want I can help you with the above
Please  sign in  to leave a comment.