groovy-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel.Sun" <>
Subject Re: About simplifying the switch for runtime groovydoc
Date Sun, 28 Oct 2018 15:05:02 GMT
Hi Remko,

You can get the runtime groovydoc with reflection, here is an example:

AA.class.getMethod('m', new Class[0]).groovydoc.content.contains('method m')

BTW, I think we can add a DGM to simplify the above code ;-)

The complete example van be found at:


Daniel Sun 
Apache Groovy committer 
Twitter: @daniel_sun 

Sent from:

View raw message