groovy-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Graeme Rocher <graeme.roc...@gmail.com>
Subject Re: Traits and protected properties
Date Wed, 25 Jan 2017 13:46:47 GMT
Maybe I'm missing something, but traits do support static methods. We
use them extensively in GORM

On Wed, Jan 25, 2017 at 1:47 PM, Daniel Sun <realbluesun@hotmail.com> wrote:
> OK. I see. Thanks :)
>
> BTW, the interface with default methods is based on Traits, I found Traits
> does not support static methods too... So maybe we should generate bytecode
> for default methods and static methods of interface as Java 8 do.
>
> Cheers,
> Daniel.Sun
>
>
>
> --
> View this message in context: http://groovy.329449.n5.nabble.com/Traits-and-protected-properties-tp5738002p5738022.html
> Sent from the Groovy Dev mailing list archive at Nabble.com.



-- 
Graeme Rocher

Mime
View raw message