Lifted from http://code.google.com/p/enhanced-groovydoc/ and slightly modified