Builder Generator

Compatible with IntelliJ IDEA
68 508
Adds ability to generate builder for a class and switch between them. Switching between builder and source class is similar to 'Go To Test' action. Generated builder class does not use reflection, only setter methods or constructor. Usage:
  • ALT+SHIFT+B inside a class.

Download plugin

Recent change notes

version 1.1.4
  • Ignore serialVersionUID field (issue #31)
  • version 1.1.3
    version 1.1.2
    version 1.1.1
    • 'but' method is now optional and disabled by default (issue #23)
    • Generated builder class is final (issue #24)
    • Added possibility to find inner builder
    version 1.1.0
    • Added possibility to generate builder as inner class (issue #13)
    version 1.0.11
    • Added 'but' method generation (issue #10)
    • Fix for deadlock on startup (issue #12)
    • Fix for method name generation (issue #14)
    version 1.0.10
    • Support for Code Style field and parameter prefixes (issue #9)
    version 1.0.9
    • Added customizable prefix for builder method (contribution by Bjorn Monnens)
    version 1.0.8
    • Comments are no longer copied when creating builder(issue #5)
    • Compiled for Java 6 (issue #6)
    version 1.0.7
    • Attempt to fix a bug that caused deadlock during IDEA startup (issue #4)
    version 1.0.6
    • Fixed bug that prevented generating builder in multimodule project
    version 1.0.5
    • Added action to 'Navigate' menu (can be easier found in 'Find Action' box)
    version 1.0.4
    • Fixed bug that prevented generating builder for class that was added as a project dependency
    version 1.0.3
    • Added ability to create builder for class with fields initialized in constructor
    version 1.0.2
    • Updated for IDEA 11.0
    version 1.0.1
    • Annotations of fields are now ignored when creating a builder
    • Source class in builder is no longer a field, but a local variable in build() method

General usage instructions

ALT+SHIFT+B inside a class