A Java library to generate code