# Java search tab

This tab in the Search dialog allows you to search for Java elements.

## Search string

In this field, type the expression for which you wish to search, using the wildcard characters mentioned in the dialog as needed. This field is initialized based on the current selection.

- Depending on what is searched for, the search string should describe the element:
  - Type: the fully qualified name of the type (e.g. org.eclipse.jdt.internal.core.JavaElement)
  - Method: the fully qualified name of the defining type, the method selector, and its parameters (e.g. org.eclipse.jdt.internal.core.JavaElement.getHandleFromMemento(MementoTokenizer, WorkingCopyOwner))
  - Package: the package name for a package (e.g. org.eclipse.jdt.internal.core)
  - Constructor: the fully qualified name of the defining type, and the constructor parameters (e.g. org.eclipse.jdt.internal.core.JavaElement(JavaElement, String)). Note that the constructor name should not be entered as it is always the same as the type name.
  - Field: the fully qualified name of the defining type and the field name (e.g. org.eclipse.jdt.internal.core.JavaElement.name)
- From the drop-down menu, you can choose to repeat (or modify) a recent search.
  Select the Case sensitive field to force a case aware search. Case sensitive is enabled when a custom search string is entered.

## Search For

Select to search for one of the following kinds of elements:

- Type
- Method
- Package
- Constructor
- Field

## Limit To

Select to limit your search results to one of the following kinds of matches:

- Declarations
- Implementors (available only when searching for types)
- References
- All Occurrences
- Read Access (available only when searching for fields)
- Write Access (available only when searching for fields)

## Scope

Select to limit your search results to one of the following scope

- Workspace
- Selected Resources
- Working Set

Press Choose to select or create a working set.

Java search

Conducting a Java search using the search dialog
Conducting a Java search using pop-up menus
Search