The method combinations view lets you examine information about the combined methods of the current generic function. You supply a signature and Generic Function Browser displays the combined methods of the generic function together with the arguments that match that method combination point.
Method combinations show you the calling order of methods. They use the class precedence lists of the classes on which the methods of a generic function operate. Being able to view these combinations gives you a simple way of seeing how before, after, and around methods are used in a particular generic function.
You can display this view by clicking the Method Combinations tab of a Generic Function Browser, or from the Debugger tool by choosing Frame > Method Combination in a frame containing a standard method. The method combinations view is shown in Generic function browser displaying method combinations below.
Figure 16.2 Generic function browser displaying method combinations
The method combinations view has a number of main sections, described below.
As with the methods view, the name of the generic function being browsed is shown here. See Function area for details.
Click Signatures... to display the Method Signatures dialog shown in Method Signatures dialog. This dialog lists the signatures for the methods defined on the current generic function. The signature of a method shows the types of the arguments.
You can also restrict the display with the Restricted Class box. See Restricting displayed signatures by class for details.
You can operate on any number of selected methods in this area using the commands in the Methods menu. See Performing operations on the current function or selected methods for details.
The Description list displays a description of any method selected in the list of method combinations. The same items of information are shown as in the methods view; see Description list.
To operate on any of the items displayed in this area, select them and choose a command from the Description menu. This menu contains the standard commands described in Performing operations on selected objects. You can operate on more than one item at once by making a multiple selection.
The Method Signatures dialog was introduced in Signatures button. You can display this dialog by clicking Signatures... in the Generic Function Browser.
By default, the Method Signatures dialog displays the signatures of all methods defined on the generic function. When there are many methods, or when the distinction between different classes is not clear, this can be confusing.
To simplify the display, you can restrict the signatures displayed to a chosen class and its superclasses. To do this, enter the name of the chosen class into the Restricted Class box. You can click which allows you to select from a list of all class names which begin with the partial input you have entered. See Completion for detailed instructions. As with similar text input panes in the IDE, click to confirm your choice, to cancel the current setting.
Once you have made a choice, only those signatures that contain the specified class or one of its superclasses are listed in the Signatures restricted to... panel of the dialog. This simplified display is useful when there are a large number of complicated signatures.
Be aware of the difference between this approach and the use of the Argument box in the Signatures panel. Restricting signatures confines the signatures offered in the dialog by means of the class of the signatures.
LispWorks IDE User Guide (Unix version) - 12 Feb 2015