Git Product home page Git Product logo

fbgep's Introduction

Fluent Builder Generator 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

Place plugin in dropins directory of your Eclipse.

Download the latest version

Update site

Latest version of plugin is available via update site.

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 (or use CTRL+SHIFT+ALT+B).

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 fbgep/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 fbgep project. Select fbgep and click Finish.
  4. Finally, if you haven't used Maven and Eclipse together before, setup the M2_REPO variable.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.