Previous:
Behavior-testing the form of the instances
, Up:
Behavior
1.9.22 Behavior: testing the method dictionary
canUnderstand: selector
Returns true if the instances of the receiver understand the given selector
hasMethods
Return whether the receiver has any methods defined
includesSelector: selector
Returns true if the local method dictionary contains the given selector
scopeHas: name ifTrue: aBlock
If methods understood by the receiver's instances have access to a symbol named 'name', evaluate aBlock
whichClassIncludesSelector: selector
Answer which class in the receiver's hierarchy contains the implementation of selector used by instances of the class (nil if none does)
whichSelectorsAccess: instVarName
Answer a Set of selectors which access the given instance variable
whichSelectorsAssign: instVarName
Answer a Set of selectors which read the given instance variable
whichSelectorsRead: instVarName
Answer a Set of selectors which read the given instance variable
whichSelectorsReferTo: anObject
Returns a Set of selectors that refer to anObject
whichSelectorsReferToByteCode: aByteCode
Return the collection of selectors in the class which reference the byte code, aByteCode