[ 
https://issues.apache.org/jira/browse/GROOVY-7981?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16372581#comment-16372581
 ] 

Paul King commented on GROOVY-7981:
-----------------------------------

Thanks for the suggestion [~alien11689]

> 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)

Reply via email to