Am 23.01.2018 um 01:18 schrieb Daniel Sun:
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
Am 23.01.2018 um 12:42 schrieb Jochen Theodorou:
Am 23.01.2018 um 01:18 schrieb Daniel Sun:
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
Okay, I made those changes. There is now a makeImmutable annotation
attribute. Still a bunch of tidying up work to do including documentation
refinements but any feedback welcome.
cheers, Paul.
On Sat, Jan 20, 2018 at 10:03 AM, MG wrote:
>
> If that subclass is in Java, you will save the
> metaclass for the Java subclass in the static field, that is supposed to
> hold the metaclass for the base class. That's not good.
You're right. I forgot the scenario...
Cheers,
Daniel.Sun
--
Sent from:
> Oh you compare wrong. groovyObj.foo() would still work.
That's great!
`groovyObj.invokeMethod("foo", EMPTY_OBJECT_ARRAY) ` is not better than
`InvokerHelper.invokeMethod(groovyObj, "foo", EMPTY_OBJECT_ARRAY) `, so I
think it is OK to change :)
Cheers,
Daniel.Sun
--
Sent from: