# Find Usages Dialog Box

Use to specify search options for the Find Usages command.

The Find Usages dialog box displays the following options for all types of identifiers:

Element | Description
--- | ---
Search in Comments | Displays occurrences of the identifier that appear in code comments.
Open in New Tab | Displays occurrences of the identifier in the Usages tab in the bottom panel of the IDE.

For classes and interfaces, the Find Usages dialog box displays the following additional options:

Element | Description
--- | ---
Find Usages | Displays all usages of the class.
Find All Subtypes | Displays usages of all subtypes of the class, including subtypes of subtypes. Usages of the class itself are not displayed.
Find Direct Subtypes Only. | Displays only usages of direct subtypes. Subtypes of those subtypes are ignored.

For methods, the Find Usages dialog box sometimes displays the following additional options:

Element | Description
--- | ---
Find Usages | Displays all usages of that specific method in your project.
Find Overriding Methods | Displays every usage of a method that overrides this method in your project in the output.
Find Usages and Overriding Methods | Displays all usages of the selected method and all usages of any method that override it.
Include overloaded methods | Displays all overloaded methods in your project.
Search from Base Class | Displays every usage of that base method in the output. This option is only relevant if the method for which you are finding usages overrides another method.

Related Topics

Developing Applications with NetBeans IDE,

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.