groovy-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul King <pa...@asert.com.au>
Subject Re: About extracting common methods to reduce the size of class files
Date Mon, 22 Jan 2018 13:27:47 GMT
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 <realbluesun@hotmail.com>
wrote:

> 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 the implementation of the common methods to the existing
> interface `groovy.lang.GroovyObject` by leveraging the power of Java8's
> default method feature.
>
>         Any thoughts?
>
> Cheers,
> Daniel.Sun
>
>
>
> --
> Sent from: http://groovy.329449.n5.nabble.com/Groovy-Dev-f372993.html
>

Mime
View raw message