About a year ago, I considered having configuration files formatted as Java files instead of XML.
This approach has many benefits. The framework is small (15KB), supports pre-compilation, debugging, refactoring, code analysis, performance tuning and all the other tools support you get with regular Java files.
What the framework gives you is runtime compilation and loading.  You can even compile and run a class in memory.
Essence JCF