Hi,

Is there a simple way to query a variable to check how many methods that
access it? (just want to know the size)

This works, but it is quite slow. 
(Morph whichSelectorsAccess: #owner) size 
Morph withAllSubclasses inject: 0 into: [ :sum :class | sum + (class
whichSelectorsAccess: #owner) size ]

<http://forum.world.st/file/n4852956/aMenuMorph%28885522432%29.png> 

Best regards,
Henrik



--
View this message in context: 
http://forum.world.st/Querying-the-accessors-of-a-variable-tp4852956.html
Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.

Reply via email to