You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by GitBox <gi...@apache.org> on 2020/06/14 18:40:56 UTC

[GitHub] [groovy] eric-milles opened a new pull request #1280: GROOVY-9554: Script: before adding to binding, check for property setter

eric-milles opened a new pull request #1280:
URL: https://github.com/apache/groovy/pull/1280


   I looked for a shared function to check a `Class` for a setter, but came up empty.  Maybe someone knows of a utility call that can replace `hasSetterMethodFor`.
   
   https://issues.apache.org/jira/browse/GROOVY-9554


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [groovy] asfgit closed pull request #1280: GROOVY-9554: Script: before adding to binding, check for property setter

Posted by GitBox <gi...@apache.org>.
asfgit closed pull request #1280:
URL: https://github.com/apache/groovy/pull/1280


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [groovy] paulk-asert commented on pull request #1280: GROOVY-9554: Script: before adding to binding, check for property setter

Posted by GitBox <gi...@apache.org>.
paulk-asert commented on pull request #1280:
URL: https://github.com/apache/groovy/pull/1280#issuecomment-643977938


   For a `ClassNode` we'd do:
   ```
   classNode.getSetterMethod(GeneralUtils.getSetterName(property))
   ```
   Don't think we have the same thing for a `Class`.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [groovy] paulk-asert commented on pull request #1280: GROOVY-9554: Script: before adding to binding, check for property setter

Posted by GitBox <gi...@apache.org>.
paulk-asert commented on pull request #1280:
URL: https://github.com/apache/groovy/pull/1280#issuecomment-648085934


   Merged, thanks. I also tweaked the doco slightly.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org