Hi all,
`$getStaticMetaClass`, `getMetaClass`, `setMetaClass`,
`invokeMethod`, `getProperty`, `setProperty`, etc. are generated for all
groovy classes(implements `groovy.lang.GroovyObject`). In order to reduce
the size of class files and speed up generating class files, I suggest
extracting
Obviously for 3.0. I like the idea in general. I'd check with Jochen on
whether he thinks any future MOP work might change which methods we'd want
to extract.
Cheers, Paul.
On Mon, Jan 22, 2018 at 11:12 PM, Daniel Sun
wrote:
> Hi all,
>
>`$getStaticMetaClass`, `getMetaClass`, `setMetaCl
Looking forward to Jochen's feedback too ;-)
Cheers,
Daniel.Sun
--
Sent from: http://groovy.329449.n5.nabble.com/Groovy-Dev-f372993.html
And now with Jochen's feedback ;)
$getStaticMetaClass can I think not be put in an interface. It needs
static information about the exact class this method is in and there is
supposed to be one for each Groovy class we create... if memory serves
me right.
Moving the others to GroovyObject wo
Hi Jochen
> $getStaticMetaClass can I think not be put in an interface. It needs
> static information about the exact class this method is in and there is
> supposed to be one for each Groovy class we create...
While I investigated the implementation of the instance method
`$getStaticMetaClas