On 2013-11-13, at 14:42, Camille Teruel <[email protected]> wrote: > 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 ].
In the end we should be able to just use the Slot MOP ;)
signature.asc
Description: Message signed with OpenPGP using GPGMail
