Hi all,
I want to take the opportunity to renew my proposal and PR to add an
annotation that allows the override of the Groovy default formatting for
certain classes.
https://github.com/apache/groovy/pull/566
To quickly remind you what the problem is, Groovy provides a nice default
formatting f
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 cre
> 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: http://groovy.3
> 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: http://groovy.329449.n5.nabble.com/Gro
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:
> @MapConstructor(makeImmutable=true) (or maybe:
> @Cons