On 13 nov. 2013, at 14:21, Alexandre Bergel <[email protected]> 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
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
> 
> 
> 
> 

Reply via email to