Many Java programs which rely on a C run-time library (JNI) have a tough time staying compatible when the underlying library is updated and typedefined enums change.
Specifically, I wrote this Java program to help the JMagick project stay compatible with the underlying ImageMagick library.
Create a Java source code generator which will parse the source of the C library and generate matching Java Interfaces for each typedefined enum.
Java projects can more easily stay up-to-date with changes in underlying C libraries.
May help Java projects use different implementations of underlying C libraries. In this specific case, GraphicsMagick should now be a suitable replacement for ImageMagick now that the enum difficulties can be easily overcome.