Skip to content

Automatically create builder for class in Eclipse

Is there a way to use an automatic builder to create builder (Joshua Bloch’s Builder Pattern) for classes in Eclipse? For example an option in the menu, a plugin or something else. I could not find anything under “Refactor“.


Maybe I am late to the party.

Eclipse on its own does not provide a way to generate code to support builder pattern. However it can be extended through plugins to enhance the functionality.

There is this plugin that I use this: