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