[jira] [Commented] (GROOVY-8501) Switch internal details of @ImmutableBase existing constructor validation

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (GROOVY-8501) Switch internal details of @ImmutableBase existing constructor validation

JIRA jira@apache.org

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

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

Github user asfgit closed the pull request at:

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


> Switch internal details of @ImmutableBase existing constructor validation
> -------------------------------------------------------------------------
>
>                 Key: GROOVY-8501
>                 URL: https://issues.apache.org/jira/browse/GROOVY-8501
>             Project: Groovy
>          Issue Type: Task
>            Reporter: Paul King
>            Priority: Major
>
> Currently @ImmutableBase validates that no existing constructors are present. It requires @ImmutableBase to appear before @TupleConstructor and @MapConstructor. It allows @Builder with the InitializerStrategy to have been processed earlier and uses some node metadata tracking to allow this to happen. If we change to instead checking for the @Generated annotation instead of node metadata, these ordering restrictions can be relaxed.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)