[operations] [attributes] [fields] [template] [definition]
[implementation] [documentation]
To use the search tool you need to use a browser which supports JAVA (c)

[next] [prev] [superclass] [next peer] [prev peer] [subclass] [index] [hierarchy]

ClassMethodPatch

inherits from MethodPatch

Object <- MethodPatch <- ClassMethodPatch



Operations

Get list of all operations

InstallPatch


Attributes

Get list of all attributes

Class ClassMethodPatch defines no new attributes.


Fields

Field Type
MethodPatch: classToPatch: ClassNumber
codeAddressOfPatch: Unsigned
ClassMethodPatch: classOperationToPatch: ClassOperationNumber


Instance template

instance ClassMethodPatch tag;
   classToPatch: nilClass;
codeAddressOfPatch: 0;
classOperationToPatch: nilOperation;
end instance;

Class definition

 
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;