PowerDesigner allows you to designate operations as generic methods. Generic methods are methods that have their own list of type variables.
- Open the property sheet of the class or interface and click on its Operations tab.
- Click the Add a Row tool to create a new operation, and then click the Properties tool to open its property sheet.
- Click Yes to confirm the creation of the operation, and then select the Generic checkbox on the General tab of the new operation property sheet to designate the operation as a generic method. The Generic tab will be automatically displayed, and a type variable created in the list in the tab.
- Add any additional type variables that you require with the Add a Row tool, and then click OK.