[ https://issues.apache.org/jira/browse/GROOVY-9571?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mikko Värri updated GROOVY-9571: -------------------------------- Description: I should've probably spotted this in GROOVY-9568 but didn't. was: I should've probably spotted this in GROOVY-9568 but didn't. Also, enums have a special {{$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. > groovydoc: annotation definitions, enums, interfaces, and traits have a > default ctor > ------------------------------------------------------------------------------------ > > Key: GROOVY-9571 > URL: https://issues.apache.org/jira/browse/GROOVY-9571 > Project: Groovy > Issue Type: Bug > Components: GroovyDoc > Reporter: Mikko Värri > Priority: Major > Time Spent: 20m > Remaining Estimate: 0h > > I should've probably spotted this in GROOVY-9568 but didn't. -- This message was sent by Atlassian Jira (v8.3.4#803005)