Categories


Authors:
analytically

InnerBuilder

Products: IntelliJ IDEA

Vendor: Mathias Bogaert

Email:

Website: https://github.com/analytically/innerbuilder

Source code: https://github.com/analytically/innerbuilder

License: http://www.apache.org/licenses/LICENSE-2.0

Bugtracker page

Adds a Builder action to the Generate menu (Alt+Insert) which generates an inner builder class as described in Effective Java
Downloads: 11360
Rating:
Participated in rating: 4
Version Compatible builds Date
1.1.1 40.123 13.06.2014 Download
5 updates are hidden show all updates
Screenshot #14463

Recent change notes

13.06.2014 - 1.1.1 - Bugfix for final fields in copy builder, thanks to neilg.
27.02.2014 - 1.1.0 - Added checkboxes to customize the builder (new builder method, copy constructor and 'with' notation).
16.02.2014 - 1.0.8 - Don't include private superclass fields and allow fields with no access modifier.
01.02.2014 - 1.0.7 - Ignore tinylog and JBoss logging fields.
14.12.2013 - 1.0.6 - Rewrites existing Builder classes, field ordering in chooser is now superclass-first.
06.12.2013 - 1.0.5 - Fixed bug with primitive types.
06.12.2013 - 1.0.4 - Fixed generated field order.
03.12.2013 - 1.0.3 - Now includes parent class fields in the chooser.
29.11.2013 - 1.0.1 - Small fixup release.
22.11.2013 - 1.0.0 - First release, based on an old codebase.

General usage instructions

Use Shift+Alt+B or Alt+Insert and select Builder. Choose the fields to be included and press OK.

Comments:

Anonymous
2015-03-01 16:24:53
it would be nice to have non static newBuilder() function on object itself which will be just delegate to static newBuilder(this)
.
Anonymous
Rated:
2014-10-22 14:17:52
Could you please add setter name starter with 'setCamelCase' also. The best solution can be ability edit generated code in file templates of IDE.
.
Fuddi
Rated:
2014-08-06 18:13:57
I love it!
.
Anonymous
Rated:
2014-06-13 16:38:30
Awesome plugin - nice to finally see some standard builder generation. I just wish that it could also refactor all uses of the constructor, like the build in intelliJ "replace constructor with builder" does.
.
kurru
Rated:
2014-03-02 04:37:10
Would be awesome if there was the option of generating the setters for even final variables. I like named variables ^-^
.