Generate Java code

When you are a programmer you spend most of your time writing code. But, at some point, you need to write a piece of code which will generate another code. In Java, you can do it with JavaPoet, a library for generating Java source files.

Continue reading…