A Java search can be conducted via the context menu of selected resources and elements in the following views:
The search context menu is also available in the Java editor. The search is only performed if the currently selected text can be resolved to a Java element.
The type of the selected Java element defines which search context menus are available. The Java editor does not constrain the list of available Java searches based on the selection.
The following searches can be conducted from the context menus of Java elements:
Command |
Description |
---|---|
References |
Finds all references to the selected Java element in the workbench |
Declarations in Workspace |
Finds all declarations of the selected Java element in the workbench |
Declarations in Hierarchy |
Finds all declarations of the selected Java element in its entire hierarchy including interfaces, superclasses and subclasses. If the Java element is neither a type nor an interface, then the hierarchy of the enclosing type or interface is used. |
Implementers |
Finds all implementers of an interface in the workbench. |