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 <realblue...@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

Reply via email to