Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-2503 MOP 2.0 design inflluencing issues
  3. GROOVY-3584

GroovyInterceptable should cause properties to fall back to getXXX/setXXX

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • groovy-runtime
    • None

    Description

      If GroovyInterceptable is implemented, getProperty/setProperty should delegate to getXXX/setXXX method calls by default. If people have overridden getProperty/setProperty, they won't notice. In many cases, though, this will simplify meta-programming.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            robertfischer Robert Fischer

            Dates

              Created:
              Updated:

              Slack

                Issue deployment