Find Usages Dialog Box
See Also
The Find Usages dialog box lets you specify search options for
the Find Usages command. You can use the Find Usages command (Alt-F7) to
display in the Usages window all of the places a class (structure),
function, variable, macro, or file is used in your project's source code.
To open the Find Usages dialog box,
right-click a class, method, or field in the Source Editor,
and choose Find Usages.
The Find Usages dialog box displays the following option for all
types of identifiers:
- Search in Comments. If you select this option, occurrences of
the identifier that appear in code comments are also displayed in
the Usages window.
For classes, the Find Usages dialog box displays the following
additional options:
- Find Usages. If selected, all usages of the
class are displayed.
- Find All Subtypes. If selected, usages of
all subtypes, including subtypes of subtypes, are displayed. Usages
of the class itself are not displayed.
- Find Direct Subtypes Only. If selected,
only usages of direct subtypes are displayed. Subtypes of those
subtypes are ignored.
For methods, the Find Usages dialog box displays the following additional
options:
- Find Usages. If selected, all usages of the
method are displayed.
- Find Overriding Methods. If selected, the Usages window shows
every usage of a method that overrides this method in your project.
- Search from Base Class [classname].
This option is only relevant if the method for which you are finding usages
overrides another method. If selected, the Usages window shows every usage of
that base method.
By default, the scope of the search is the current project. You can expand
the search to all of your open projects by selecting Open Projects from
the Scope drop-down list.
Copyright © 2015, Oracle and/or its affiliates. All rights reserved.