You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/10/29 16:49:59 UTC

[jira] [Commented] (GROOVY-7981) Not public constructors for groovy.transform.Immutable anotated class

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

ASF GitHub Bot commented on GROOVY-7981:
----------------------------------------

GitHub user alien11689 opened a pull request:

    https://github.com/apache/groovy/pull/453

    [GROOVY-7981] Set access level for constructors created by groovy.tra…

    …nsform.Immutable

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/alien11689/incubator-groovy GROOVY-7981

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/groovy/pull/453.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #453
    
----
commit 74153353c59376ed6ef246c0c50f4fc00d8482d5
Author: Dominik Przybysz <dp...@touk.pl>
Date:   2016-10-29T16:47:20Z

    [GROOVY-7981] Set access level for constructors created by groovy.transform.Immutable

----


> 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
>
> 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
(v6.3.4#6332)