[ 
https://issues.apache.org/jira/browse/GROOVY-4659?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pascal Schumacher updated GROOVY-4659:
--------------------------------------
    Summary:  GroovyDoc omits closure parameters  (was: javadoc omits closure 
parameters)

>  GroovyDoc omits closure parameters
> -----------------------------------
>
>                 Key: GROOVY-4659
>                 URL: https://issues.apache.org/jira/browse/GROOVY-4659
>             Project: Groovy
>          Issue Type: Bug
>          Components: GroovyDoc
>    Affects Versions: 1.7.6
>         Environment: groovy 1.7.6 (grails 1.3.6)
>            Reporter: Patrick Huber
>
> running grails doc does generate the doc but in most closures i actually use 
> typed arguments as in "def closure = { MyOwnClass arg -> ... }" and I'd like 
> groovydoc to automatically link to "MyOwnClass", same as it happens with a 
> plain java method...
> So my current workaround to get a reasonable javadoc out of my code goes like 
> this:
> {code}
> /**
>  * my documentation
>  */
> public void myMethod(SomeClass arg) {}
> def myMethod = { SomeClass arg ->
>   // actual code
> }
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to