You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Paul King (Jira)" <ji...@apache.org> on 2020/11/11 02:02:05 UTC

[jira] [Closed] (GROOVY-9744) PropertyNode should be enriched to support getter/setter names

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

Paul King closed GROOVY-9744.
-----------------------------

> 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)