Hi Marcus, On Wed, 7 Nov 2018 at 14:27, Marcus Denker <[email protected]> wrote: > > > > > On 7 Nov 2018, at 13:56, Alistair Grant <[email protected]> wrote: > > ... > > > Good point. How to get a list of all the methods that have MetaLinks? > > The following seems to work, but probably isn't the most efficient: > > > > Object allSubclasses flatCollect: [ :each | each methods select: [ > > :method | method ast links isNotNil ] ] > > > > you can ask the method directly > > Object allSubclasses flatCollect: [ :each | each methods select: [ > :method | method hasLinks ] ] > > this is much faster as it returns immediately nil for methods without links > (without AST reification).
Thanks! Cheers, Alistair
