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

Paul King resolved GROOVY-7981.
-------------------------------
       Resolution: Fixed
         Assignee: Paul King
    Fix Version/s: 2.5.0-rc-1

Solved using @VisibilityOptions annotation.

> 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