Le 26/4/16 à 14:39, Steven Costiou a écrit :
Hello,
i am not new to Pharo nor to the list but this is the first time i
speak here, so : hi =)
Welcome Steven
I started a phd a few month ago (with Alain Plantec) on context
oriented programming and dynamic programs adaptation. I am using Pharo
for my experiments and i would like to intercept messages sent to an
object just before they get to their receiver. To be more specific,
when #msg is sent to an object o, i want to be able to intercept it
just before it is actually executed with the following objects at my
disposal : the receiver (o), the message or selector, the sender. My
objective by doing that is to (try to) change the lookup for a given
method, and to be able to choose in which class the lookup will start.
This is not yet supported by Reflectivity but you should talk to marcus
and help building it and it will be there :)
I have been looking a bit and it does not seem to be a "simple" way to
do that in Pharo. Is that even possible and if so, any advice on where
i should look ?
Thanks,
Steven.