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

Paul King updated GROOVY-9756:
------------------------------
    Issue Type: Improvement  (was: New Feature)

> MapConstructor generated code should be POJO aware
> --------------------------------------------------
>
>                 Key: GROOVY-9756
>                 URL: https://issues.apache.org/jira/browse/GROOVY-9756
>             Project: Groovy
>          Issue Type: Improvement
>            Reporter: Paul King
>            Assignee: Paul King
>            Priority: Major
>             Fix For: 4.0.0-alpha-1
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> Currently named arg generated code from {{@MapConstructor}} calls into 
> {{ImmutableASTTransformation#checkPropNames}} which checks that all supplied 
> properties are known at runtime before constructing the object. A {{@POJO}} 
> class could have hard-coded code that checks named arg map keys against 
> properties known at compile time.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to