[ https://issues.apache.org/jira/browse/GROOVY-7981?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Paul King closed GROOVY-7981. ----------------------------- > Not public constructors for groovy.transform.Immutable anotated class > --------------------------------------------------------------------- > > Key: GROOVY-7981 > URL: https://issues.apache.org/jira/browse/GROOVY-7981 > Project: Groovy > Issue Type: Improvement > Reporter: Dominik Przybysz > Assignee: Paul King > Priority: Major > Fix For: 2.5.0-rc-1 > > > groovy.transform.Immutable annotation generates only public constructors for > annotated class. > I want to be able to create class with constructors with another modifiers e. > g. private constructors and define static method create/build/from which will > be the only way to create my immutable class. > The pull request will be provided. -- This message was sent by Atlassian JIRA (v7.6.3#76005)