How to use flow-code-generator to generate code templates

Hi,

I created a Polymer-based webcomponents, and would like to code the Java counterpart. If the json_metadata are availble, can we use flow-code-generator to generate the Java templates? And how to do that?

Best regards,
Joey