Builder Pattern Eclipse Plugin | Generate Builder method for classes automatically

https://github.com/henningjensen/bpep



Builder Pattern Eclipse Plugin

About

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.

Feature

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.

Download

Download the latest version

Installation procedure

  1. Download the jar file
  2. Put the jar file in the eclipse/dropins directory

Usage

In the eclipse java editor window, right click and select Source -> Generate Builder Pattern Code.
Context menu
Then select which fields you want to expose in the builder.
Selection window