A simple command line interface that uses Apache Commons CLI and Apache Velocity template engine to generate Java code.
Download the bp-velocity-cli-all-0.1.0.jar from build/libs/ directory and run the following command.
java -jar bp-velocity-cli-all-0.1.0.jar -g <class_name_of_the_generated_file>
This should generate a java file in the generated folder located under the directory you run this command on.