Re: About the native interface default method for Groovy 3

2019-02-16 Thread Daniel.Sun
Hi Paul, > I'd be inclined to leave the current implementation for dynamic Groovy and > have a native implementation just with @CS. That gives us some scope for > leaving out some of those fields/methods. Agreed. As Java interface can not contain all fields/methods generated by groovy compil

Re: About the native interface default method for Groovy 3

2019-02-13 Thread Paul King
I'd be inclined to leave the current implementation for dynamic Groovy and have a native implementation just with @CS. That gives us some scope for leaving out some of those fields/methods. On Wed., 13 Feb. 2019, 2:39 am Daniel.Sun Hi all, > > I'm trying to find a solution to implement th

About the native interface default method for Groovy 3

2019-02-12 Thread Daniel.Sun
Hi all, I'm trying to find a solution to implement the native interface default method for Groovy 3 and encounter the following problems. Any advice is appreciated! 1) [Generating Fields] No matter whether STC is enabled or not, the following fields need to be generated, but `private`, `