On 20 déc. 07, at 22:13, Adrian Kuhn wrote:
On 20 Dec 2007, at 21:16 , Stéphane Ducasse wrote:
mc := MethodCollector new. bindingToSearch := OrderedCollection fullyQualifiedReference binding. filter := mc referencesTo: bindingToSearch. result := mc select: filter.
If you are looking for the non-RB version, go for this one. More see: MethodCollector comment.
there was no example in the comments about finding reference to a class.
However, Smalltalk's senders of yields tons of false positives. In RBCrawler, what I do is a type inference at byte code level to get better data.
We want just class references for now.
AA
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev