Version 2.x of JDeparser, a Java source code generating library.
The online JavaDoc is located at https://jdeparser.github.io/jdeparser2.
See org.jboss.jdeparser.SimpleExampleTestCase for an example to get you off the ground quick.
The source code is found at https://github.com/jdeparser/jdeparser2 - feel free to clone and contribute.
The bug tracker can be found at https://issues.jboss.org/browse/JDP.