Object <- MethodPatch <- ClassMethodPatch |
|
|
InstallPatch |
Class ClassMethodPatch defines no new attributes.
Fields
| Field | Type | |
|---|---|---|
| MethodPatch: | classToPatch: | ClassNumber |
| codeAddressOfPatch: | Unsigned | |
| ClassMethodPatch: | classOperationToPatch: | ClassOperationNumber |
instance ClassMethodPatch tag; classToPatch: nilClass; codeAddressOfPatch: 0; classOperationToPatch: nilOperation; end instance;
Define Class ClassMethodPatch; inherits from MethodPatch; field classOperationToPatch: ClassOperationNumber; // Class operation number of the method to patch. overrides InstallPatch; // Adds patch to classesWithPatchedClassMethods and flushes the class method cache. end class;