Java library for code generators