Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
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.