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

Paul King resolved GROOVY-9576.
-------------------------------
    Fix Version/s: 3.0.5
                   4.0.0-alpha-1
         Assignee: Paul King
       Resolution: Fixed

Proposed PR merged. Thanks!

> groovydoc: $INIT static method shown on Groovy enums
> ----------------------------------------------------
>
>                 Key: GROOVY-9576
>                 URL: https://issues.apache.org/jira/browse/GROOVY-9576
>             Project: Groovy
>          Issue Type: Improvement
>          Components: GroovyDoc
>            Reporter: Mikko Värri
>            Assignee: Paul King
>            Priority: Major
>             Fix For: 4.0.0-alpha-1, 3.0.5
>
>
> Groovydoc shows {{$INIT}} static method that can be used to create instances 
> of the enum:
> {code}
> enum GE{}
> final ge = GE.$INIT(['', 0] as Object[])
> assert ge.class == GE
> {code}
> That should probably be hidden from groovydocs.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to