Paul King created GROOVY-9756:
---------------------------------

             Summary: MapConstructor generated code should be POJO aware
                 Key: GROOVY-9756
                 URL: https://issues.apache.org/jira/browse/GROOVY-9756
             Project: Groovy
          Issue Type: New Feature
            Reporter: Paul King


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