Warnings for definitions (Professional Edition only)
In this section, you will learn how to use the warnings for definitions feature within the OCLWorkshop2009Demo project.
This feature checks on demand for a project if definitions are used in queries or tests and if they are documented.
The results are represented as warnings.
- Make sure that all libraries are parsed. For this step you can use Project > Clean... and select the appropriate projects.

- If the problems view is not visible, select the menu item Window > Show View > Problems.
- In the Package Explorer view, select a project.
- Right click on the selected project and select the menu item Definition-not-used Check.

- The definitions that are not used in queries or tests or are not documented are shown as warnings in the problems view.

- On double click on a warning you can navigate to the definition.