Helper Methods for Obtaining Method Tracking Information
The preambleMethod and postambleMethod methods must have the following signature:
method(paramList: ParamListType);
When invoked, the paramList parameter contains a list of parameters matching those of the method being tracked.
You can use the methods listed in the following table to obtain information about the method being tracked.
Method | Information Obtained |
---|---|
|
Value of the parameter with the specified index within the paramList parameter |
|
Number of entries contained in the paramList parameter |
|
Tracked method for which the preamble or postamble method has been invoked |
|
Object used as the receiver for the method being tracked |
|
Return value of the method being tracked |
|
Value representing the current state of the tracked method; that is, whether it is about to be called, has just returned normally, or has just exited abnormally |