Nov. 13, 2013
1:42 p.m.
On 13 nov. 2013, at 14:21, Alexandre Bergel <alexandre.bergel@me.com> wrote:
Hi!
Is there a way to get notified when fields are accessed? That would be awesome
You can use the current reflectivity prototype. It's on RMoD CI: https://ci.inria.fr/rmod/job/Reflectivity/ It should look like something like that: YourClass methods do: [ :method | method ast forAllNodes: [ :node | node isVariable and: [ node isInstance ] ] putAfter: [ RFMetalink expression: 'Transcript crShow: ''iv accessed''' ]; installWrapper ].
Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.