This project is a Eclipse plugin that automates the writing of these builders. With just two clicks you can generate all the builder code you need.
Now Support Eclipse 2024-06 and later, Mac OS X, Linux (with nautilus) and Windows.
The Builder Pattern was first introduced by Joshua Bloch at JavaOne 2007. It's a pattern for class creation and helps getting rid of ugly constructors, constructor telescoping and increases the general readability of your code.
Fork of the bpep plugin. Original source: https://github.com/henningjensen/bpep
In the eclipse java editor window, right click and select Source -> Generate Builder Pattern Code or Ctrl + Alt + P.
Then select which fields you want to expose in the builder.
This project uses Tycho with Maven to build. It requires Maven 3.9.0 or higher version.
Dev build:
mvn clean verify
Release build:
mvn clean org.eclipse.tycho:tycho-versions-plugin:set-version -DnewVersion=2.0.0 verify
- Add
https://raw.githubusercontent.com/tlcsdm/eclipse-bpep/update_site/as the upgrade location in Eclipse. - Download from Jenkins
-
← Drag it to your eclipse workbench to install! (I recommand Main Toolbar as Drop Target)

