ClassBuilder and SourceFormatter reference implementations.
The ClassBuilders are focused to dynamically create the source code for java enum classes at runtime.
It also covers the formatting of them.
Please note that there are two optional dependencies:
- https://mvnrepository.com/artifact/com.sun.codemodel/codemodel
- https://github.com/square/javapoet