groovy-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paolo Di Tommaso <paolo.ditomm...@gmail.com>
Subject Re: List and GString
Date Thu, 26 May 2016 22:40:02 GMT
Yes, but `toString` is called implicitly so there's no way to intercept it
(or at least I was unable to do that).


p

On Fri, May 27, 2016 at 12:22 AM, emmanuel r <goaway1000@gmail.com> wrote:

> Doesn't GString resolve expressions when it's toString is called? If so,
> you may be able to override it at that point.
> On May 26, 2016 6:11 PM, "emmanuel r" <goaway1000@gmail.com> wrote:
>
>> Yep, that's the trick I was thinking of.
>> On May 26, 2016 6:01 PM, "Paolo Di Tommaso" <paolo.ditommaso@gmail.com>
>> wrote:
>>
>>>
>>>> At the end of the day it should to be possible to use meta-programming
>>>> to override Java compiled code.
>>>>
>>>
>>>
>>> Oops, I meant: *it should *not* be possible to use meta-programming*
>>>
>>>
>>>

Mime
View raw message