Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-2098

Add support for propertyMissing to Groovy

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.1-beta-3
    • None
    • None

    Description

      We need to add support for propertyMissing as well as methodMissing. Example:

      // for getters
      Foo.metaClass.propertyMissing = { String  name ->
      
      }
      // for setters
      Foo.metaClass.propertyMissing = { String name, Object value ->
      
      }
      

      Attachments

        Issue Links

          Activity

            People

              graemerocher Graeme Rocher
              graemerocher Graeme Rocher
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: