[ https://issues.apache.org/jira/browse/GROOVY-7981?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16372512#comment-16372512 ]
ASF GitHub Bot commented on GROOVY-7981: ---------------------------------------- Github user asfgit closed the pull request at: https://github.com/apache/groovy/pull/453 > 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 > Priority: Major > > 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)