[
https://issues.apache.org/jira/browse/GROOVY-9744?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Paul King resolved GROOVY-9744.
-------------------------------
Fix Version/s: 4.0.0-alpha-1
Resolution: Fixed
> PropertyNode should be enriched to support getter/setter names
> --------------------------------------------------------------
>
> Key: GROOVY-9744
> URL: https://issues.apache.org/jira/browse/GROOVY-9744
> 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
>
> {{java.beans.PropertyDescriptor}} allows for arbitrary setting of read/write
> method names before defaulting to set/get/is prefix patterns. This change
> will allow Groovy's {{PropertyNode}} to have the same flexibility. The
> defaults will still be the same, so no change would normally be seen but we
> would then have the flexibility to represent slightly different scenarios,
> e.g. properties in Java Records could be represented using normal property
> nodes rather than some special representation. Once we have such an enhanced
> {{PropertyNode}}, there is more we could do such as produce {{BeanInfo}}
> classes as part of the the compilation process when needed but that is
> outside the scope of this issue.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)