Generating generic fields in JCodeModel
I recently wrote an article about generating enums with JCodeModel. Due to the lack of documentation of JCodeModel using it can become very time consuming. I had to put in a lot of time to research a lot of basic stuff. This article will show you how to declare and assign generic fields. Getting started As before to get started you have to create an instance of JCodeModel. You will need this object to generate your classes. ...