Programmer's Reference

Method queries

allMethodsNamed:, allMethodsReferencingInstVarName:, allMethodsReferencingLiteral:, allMethodsSending:, allMethodsSendingAll:, canUnderstand:, hasMethods, includesSelector:, whichMethodsReferenceInstVarName:, whichMethodsReferenceLiteral:, whichMethodsSend:, whichMethodsSendAll:, whichMethodsReferenceInstVarName:, whichMethodsReferenceLiteral:, whichMethodsSend:, whichMethodsSendAll:

Note:
The Blue Book only defines the messages canUnderstand:, hasMethods, and includesSelector:. We decided to provide a richer set of method query messages so that it would be possible to hide implementation details without losing functionality.
Porting tip:
Smalltalk/V only supports canUnderstand: and includesSelector:, as well as several messages designed to query methods about instance and class variable references. Objectworks\Smalltalk supports only the Blue Book messages canUnderstand:, hasMethods, and includesSelector:.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]