Details
-
Type:
Sub-task
-
Status:
Open
-
Priority:
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 :
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
- is depended upon by
-
GROOVY-1621
Add new addMetaConstructor method to MetaClassImpl
-