Skip to content
No description, website, or topics provided.
Java
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
META-INF
src
tools/config
.gitignore
LICENSE.txt
build.properties
code_structure.atxa
plugin.xml
pom.xml
readme.md

readme.md

FluentBuilderGenerator

The FluentBuilderGenerator generate builders (based on the Builder Pattern) for object creation for unit testing. With help of these generated classes it is possible to create custom objects in a fluent syntax style. The generator is implementation of javax.annotation.processing.AbstractProcessor from Annotation Processing Tool and it can be used with Maven, Gradle, Ant or just Eclipse.

After the fork from BLUECARAT AG many changes was merged to this project and released in 1.1.0 version. Some of them are implemented in a diffrent way, so check the changlelog.

GitHub Repository: https://github.com/aludwiko/fluentbuilder

Features

  • "on build" generation
  • fluent syntax
  • no setters needed
  • inheritance support
  • many constructors support
  • varargs support
  • custom domain methods support

Setup Code Generation

Checkout project Wiki: https://github.com/aludwiko/fluentbuilder/wiki

Changelog

1.1.0

NEW:

  • support for classes without default constructors #14
  • support for inheritance #13 (overridden/hidden fields are NOT supported, because it is bad programming practice and should be avoided)
  • ignoring fields by regexp enhancement #16 (additional parameter for ignoring e.g. technical fields that should not be included in generated builders)

FIXED:

  • compiler arguments must be in single line #12

1.1.1

FIXED:

You can’t perform that action at this time.