2015-09-22 14:02 GMT+02:00 Peter Uhnák <i.uh...@gmail.com>:

> > Also, how do I get to a list
> > of the implementers/senders/references/etc of the method/class?
> > What is the improved and approved way to do this :) ?
>
> do you mean sending them #senders and #implementors? Or am I missing
> something?
>
> aCompiledMethod senders.
> (Morph>>#drawOn:) implementors.
> Morph allCallsOn.
>
> This will list everything. Nautilus can also filter it, because it
> keeps track of the current scope, but I don't know if this is
> abstracted.
>

Well, implementors refer to SystemNavigation allImplementorsOf:, and
SystemNavigation has an environment instance variable which may allow for
scoping...

Maybe something like

anEnvironment asSystemNavigationEnvironment implementorsOf: aCompiledMethod
selector

The API for scopped use of SystemNavigation is very limited. Maybe because
only Nautilus seems to have a use for it?

Thierry




>
> Peter
>
>

Reply via email to