Programmer's Reference

Method adding and deleting

addCompiledMethod:, deleteAllSelectors:, deleteSelector:, deleteSelector:ifAbsent:

Note:
The Blue Book messages addSelector:withMethod: and removeSelector: are integrated with source code management systems on most platforms. Changing the semantics of these messages to remove this dependency would have broken too much existing code. We decided instead to add new messages that are neutral regarding source code management; that is, they are intended to exist outside the source code management system.
Porting tip:
Neither Smalltalk/V nor Objectworks\Smalltalk supports these messages.
Tip:
Using addCompiledMethod:, deleteAllSelectors:, deleteSelector:, or deleteSelector:ifAbsent: might make the image inconsistent with the source code management system. These methods should only be sent by experienced developers who are certain of the outcome. Objectworks\Smalltalk support these messages.


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