Tim Tennant, Mike Dunford
This plugin adds builder actions to the generate menu (ctrl + n). Actions to generate builders and builder with methods.
- 'with methods' action (ctrl + shift + w) generates a withFieldName() method in current class for each of the classes fields you select (works like the generate getter/setter). The with method returns the current class.
- 'generate builder' action (alt + shift + b) generates a builder class in the current package for the current class, that has a withFieldName() method for each field in the class, and a build() method that constructs and returns a new instance of the class.
General usage instructions:
Select with on Generate menu (alt+ins on window, ctrl+n on mac)