All Projects → henningjensen → bpep

henningjensen / bpep

Licence: other
Builder Pattern Eclipse Plugin

Programming Languages

java
68154 projects - #9 most used programming language
XML
50 projects

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

Contributing

  1. Fork this project
  2. Make your changes
  3. Submit a pull request

Making changes

  1. Checkout the project
  2. Run mvn eclipse:eclipse inside the bpep/plugin directory to create the Eclipse project files
  3. In Eclipse, run File | Import... | General > Existing Projects into Workspace | Select root directory > The directory into which you checked out the bpep project. Select bpep and click Finish.
  4. Finally, if you haven't used Maven and Eclipse together before, setup the M2_REPO variable.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].