- Some examples
I had a Java file with lots and lots of Constants which I had to put into our Wiki to document the possible errors our system could return, here is a piece of that code, I changed the errors to be more generic:
There were a lot of them, and since I'm a lazy programmer I had to think of something easier than convert this manualy...
I came up with something like this, using Reflection-dsl
The output with this example would have been: