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

Extend Map coercion to classes

    XMLWordPrintableJSON

Details

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

    Description

      Currently, it is possible to define Map coercion to interfaces:

      [foo: {}, bar: {}] as SomeInterface

      The mechanism leverages Java proxies and invocation handlers.

      The mechanism should be enhanced to allow extending classes as well.

      Attachments

        Activity

          People

            blackdrag Jochen Theodorou
            guillaume Guillaume Sauthier
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: