Tool to generate code from java code via Apache Velocity templates