> El 03-07-2017, a las 22:28, Hilaire <hila...@drgeo.eu> escribió:
> 
> I will be curious to know how to do that…

You may have a wrapper that holds the compiled method. So, the method list can 
hold your wrappers instead of compiled methods.
Than your wrapper could listen to the system announcer for changes and updates 
its value accordingly.
Or you can update your method list on according to changes in the system 
announcer.

Check, SystemAnnouncer uniqueInstance on: MethodModified do: [ :ann | self 
inform: ann method printString, ‘ changed’ ].

Juraj

> 
> 
> Le 03/07/2017 à 18:08, Andrei Chis a écrit :
>> 'aCompiledMethod' references the old method. To make this work you'll
>> need to not reference the compiled method object directly or also
>> refresh the list of methods.
> 
> -- 
> Dr. Geo
> http://drgeo.eu
> 
> 
> 


Reply via email to