On 25.09.2016 01:26, Krzysztof Kowalczyk wrote:
[...]
I have some possible workarounds in mind:
- change design - so there is no need to call upper scope
- resolve delegate only and create a @Delegate so I have complete control
over methods in scope - so, so
- override getProperty - feels wrong
- put null in genericGetMethod in meta class for the owner -  I guess there
is a special ring in hell for people who do things like that

get(String) is part of the MOP, there is not really a way to avoid it. Unless you want to change the meta class - you mentioned hell already, didnt“t you? ;)

Can`t you work around it using get(Charsequence)?


On the other hand I would like to have is resolution strategy that goes like
that:
- check for real methods in delegate
- check for real methods in owner
- check for dynamic methods in delegate
- check for dynamic methods in owner

As far as I understand there is no such thing now, right ?

what do you put in the category "dynanic methods"?

bye Jochen

Reply via email to