groovy
  1. groovy
  2. GROOVY-2503 MOP 2.0 design inflluencing issues
  3. GROOVY-1620

Implement new MetaConstructor and use that instead of java.lang.reflect.Constructor

    Details

    • Type: Sub-task Sub-task
    • Status: Open Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 1.0-RC-1, 1.0
    • Fix Version/s: None
    • Component/s: groovy-jdk
    • Labels:
      None
    • Number of attachments :
      0

      Description

      Abstract constructor invocation inside MetaClassImpl to use MetaConstructor instances like the rest of the MetaClassImpl stuff (MetaBeanProperty, MetaMethod, NewStaticMetaMethod etc.) instead of using java.lang.reflect.Constructor

      java.lang.reflect.Constructor is a final class so you can't subclass it to hook into the existing Groovy MetaClassImpl meaning you have to intercept invokeConstructor to add new methods

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              blackdrag blackdrag
              Reporter:
              Graeme Rocher
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: