## Uses of Interface
org.eclipse.jdt.core.search.IJavaSearchScope

Packages that use IJavaSearchScope
org.eclipse.jdt.core.search: Provides support for searching the workspace Java elements that match a particular description.
org.eclipse.jdt.ui: Application programming interfaces for interaction with the Eclipse Java User Interface.
org.eclipse.jdt.ui.search: Application programming interfaces for Java search participants..

### Uses of IJavaSearchScope in org.eclipse.jdt.core.search

Methods in org.eclipse.jdt.core.search that return IJavaSearchScope
`static IJavaSearchScope` SearchEngine.`createHierarchyScope​(IType type)` Returns a Java search scope limited to the hierarchy of the given type.
`static IJavaSearchScope` SearchEngine.`createHierarchyScope​(IType type, WorkingCopyOwner owner)` Returns a Java search scope limited to the hierarchy of the given type.
`static IJavaSearchScope` SearchEngine.`createJavaSearchScope​(boolean excludeTestCode, IJavaElement[] elements, boolean includeReferencedProjects)` Returns a Java search scope limited to the given Java elements.
`static IJavaSearchScope` SearchEngine.`createJavaSearchScope​(boolean excludeTestCode, IJavaElement[] elements, int includeMask)` Returns a Java search scope limited to the given Java elements.
`static IJavaSearchScope` SearchEngine.`createJavaSearchScope​(IResource[] resources)` Deprecated. Use `SearchEngine.createJavaSearchScope(IJavaElement[])` instead.
`static IJavaSearchScope` SearchEngine.`createJavaSearchScope​(IJavaElement[] elements)` Returns a Java search scope limited to the given Java elements.
`static IJavaSearchScope` SearchEngine.`createJavaSearchScope​(IJavaElement[] elements, boolean includeReferencedProjects)` Returns a Java search scope limited to the given Java elements.
`static IJavaSearchScope` SearchEngine.`createJavaSearchScope​(IJavaElement[] elements, int includeMask)` Returns a Java search scope limited to the given Java elements.
`static IJavaSearchScope` SearchEngine.`createStrictHierarchyScope​(IJavaProject project, IType type, boolean onlySubtypes, boolean includeFocusType, WorkingCopyOwner owner)` Returns a Java search scope limited to the hierarchy of the given type and to a given project.
`static IJavaSearchScope` SearchEngine.`createWorkspaceScope()` Returns a Java search scope with the workspace as the only limit.

Methods in org.eclipse.jdt.core.search with parameters of type IJavaSearchScope
`void` SearchPattern.`acceptMatch​(String relativePath, String containerPath, char separator, SearchPattern pattern, org.eclipse.jdt.internal.core.search.IndexQueryRequestor requestor, SearchParticipant participant, IJavaSearchScope scope)`
`void` SearchPattern.`acceptMatch​(String relativePath, String containerPath, char separator, SearchPattern pattern, org.eclipse.jdt.internal.core.search.IndexQueryRequestor requestor, SearchParticipant participant, IJavaSearchScope scope, IProgressMonitor monitor)`
`void` SearchPattern.`findIndexMatches​(org.eclipse.jdt.internal.core.index.Index index, org.eclipse.jdt.internal.core.search.IndexQueryRequestor requestor, SearchParticipant participant, IJavaSearchScope scope, boolean resolveDocumentName, IProgressMonitor monitor)` Query a given index for matching entries.
`void` SearchPattern.`findIndexMatches​(org.eclipse.jdt.internal.core.index.Index index, org.eclipse.jdt.internal.core.search.IndexQueryRequestor requestor, SearchParticipant participant, IJavaSearchScope scope, IProgressMonitor monitor)` Query a given index for matching entries.
`abstract void` SearchParticipant.`locateMatches​(SearchDocument[] documents, SearchPattern pattern, IJavaSearchScope scope, SearchRequestor requestor, IProgressMonitor monitor)` Locates the matches in the given documents using the given search pattern and search scope, and reports them to the given search requestor.
`void` SearchEngine.`search​(IWorkspace workspace, String patternString, int searchFor, int limitTo, IJavaSearchScope scope, IJavaSearchResultCollector resultCollector)` Deprecated. Use `SearchEngine.search(SearchPattern, SearchParticipant[], IJavaSearchScope, SearchRequestor, IProgressMonitor)` instead.
`void` SearchEngine.`search​(IWorkspace workspace, IJavaElement element, int limitTo, IJavaSearchScope scope, IJavaSearchResultCollector resultCollector)` Deprecated. Use `SearchEngine.search(SearchPattern, SearchParticipant[], IJavaSearchScope, SearchRequestor, IProgressMonitor)` instead.
`void` SearchEngine.`search​(IWorkspace workspace, ISearchPattern searchPattern, IJavaSearchScope scope, IJavaSearchResultCollector resultCollector)` Deprecated. Use `SearchEngine.search(SearchPattern, SearchParticipant[], IJavaSearchScope, SearchRequestor, IProgressMonitor)` instead.
`void` SearchEngine.`search​(SearchPattern pattern, SearchParticipant[] participants, IJavaSearchScope scope, SearchRequestor requestor, IProgressMonitor monitor)` Searches for matches of a given search pattern.

`void`

SearchEngine.`searchAllMethodNames​(char[] packageName, int pkgMatchRule, char[] declaringQualification, int declQualificationMatchRule, char[] declaringSimpleName, int declSimpleNameMatchRule, char[] methodName, int methodMatchRule, IJavaSearchScope scope, MethodNameMatchRequestor nameRequestor, int waitingPolicy, IProgressMonitor progressMonitor)`

Searches for all method declarations in the given scope.

`void`

SearchEngine.`searchAllMethodNames​(char[] packageName, int pkgMatchRule, char[] declaringQualification, int declQualificationMatchRule, char[] declaringSimpleName, int declSimpleNameMatchRule, char[] methodName, int methodMatchRule, IJavaSearchScope scope, MethodNameRequestor nameRequestor, int waitingPolicy, IProgressMonitor progressMonitor)`

Searches for all method declarations in the given scope.

`void` SearchEngine.`searchAllMethodNames​(char[] qualifier, int qualifierMatchRule, char[] methodName, int methodMatchRule, IJavaSearchScope scope, MethodNameMatchRequestor nameRequestor, int waitingPolicy, IProgressMonitor progressMonitor)` Searches for all method declarations in the given scope.
`void` SearchEngine.`searchAllMethodNames​(char[] qualifier, int qualifierMatchRule, char[] methodName, int methodMatchRule, IJavaSearchScope scope, MethodNameRequestor nameRequestor, int waitingPolicy, IProgressMonitor progressMonitor)` Searches for all method declarations in the given scope.
`void` SearchEngine.`searchAllTypeNames​(char[][] qualifications, char[][] typeNames, IJavaSearchScope scope, TypeNameMatchRequestor nameMatchRequestor, int waitingPolicy, IProgressMonitor progressMonitor)` Searches for all top-level types and member types in the given scope matching any of the given qualifications and type names in a case sensitive way.
`void` SearchEngine.`searchAllTypeNames​(char[][] qualifications, char[][] typeNames, IJavaSearchScope scope, TypeNameRequestor nameRequestor, int waitingPolicy, IProgressMonitor progressMonitor)` Searches for all top-level types and member types in the given scope matching any of the given qualifications and type names in a case sensitive way.
`void` SearchEngine.`searchAllTypeNames​(char[] packageName, char[] typeName, int matchRule, int searchFor, IJavaSearchScope scope, ITypeNameRequestor nameRequestor, int waitingPolicy, IProgressMonitor progressMonitor)` Deprecated. Use `SearchEngine.searchAllTypeNames(char[], char[], int, int, IJavaSearchScope, TypeNameRequestor, int, IProgressMonitor)` instead
`void` SearchEngine.`searchAllTypeNames​(char[] packageExactName, char[] typeName, int matchRule, int searchFor, IJavaSearchScope scope, TypeNameRequestor nameRequestor, int waitingPolicy, IProgressMonitor progressMonitor)` Deprecated. Use `SearchEngine.searchAllTypeNames(char[], int, char[], int, int, IJavaSearchScope, TypeNameRequestor, int, IProgressMonitor)` instead
`void` SearchEngine.`searchAllTypeNames​(char[] packageName, int packageMatchRule, char[] typeName, int typeMatchRule, int searchFor, IJavaSearchScope scope, TypeNameMatchRequestor nameMatchRequestor, int waitingPolicy, IProgressMonitor progressMonitor)` Searches for all top-level types and member types in the given scope.
`void` SearchEngine.`searchAllTypeNames​(char[] packageName, int packageMatchRule, char[] typeName, int typeMatchRule, int searchFor, IJavaSearchScope scope, TypeNameRequestor nameRequestor, int waitingPolicy, IProgressMonitor progressMonitor)` Searches for all top-level types and member types in the given scope.

`void`

SearchEngine.`searchAllTypeNames​(IWorkspace workspace, char[] packageName, char[] typeName, int matchMode, boolean isCaseSensitive, int searchFor, IJavaSearchScope scope, ITypeNameRequestor nameRequestor, int waitingPolicy, IProgressMonitor progressMonitor)`

Deprecated.
Use `SearchEngine.searchAllTypeNames(char[], char[], int, int, IJavaSearchScope, ITypeNameRequestor, int, IProgressMonitor)` instead

`abstract IPath[]` SearchParticipant.`selectIndexes​(SearchPattern query, IJavaSearchScope scope)` Returns the collection of index locations to consider when performing the given search query in the given scope.

### Uses of IJavaSearchScope in org.eclipse.jdt.ui

Methods in org.eclipse.jdt.ui with parameters of type IJavaSearchScope
`static SelectionDialog` JavaUI.`createMainTypeDialog​(Shell parent, IRunnableContext context, IJavaSearchScope scope, int style, boolean multipleSelection)` Creates a selection dialog that lists all types in the given scope containing a standard `main` method.
`static SelectionDialog` JavaUI.`createMainTypeDialog​(Shell parent, IRunnableContext context, IJavaSearchScope scope, int style, boolean multipleSelection, String filter)` Creates a selection dialog that lists all types in the given scope containing a standard `main` method.
`static SelectionDialog` JavaUI.`createPackageDialog​(Shell parent, IRunnableContext context, IJavaSearchScope scope, boolean multipleSelection, boolean removeDuplicates, String filter)` Creates a selection dialog that lists all packages of the given Java search scope.
`static SelectionDialog` JavaUI.`createTypeDialog​(Shell parent, IRunnableContext context, IJavaSearchScope scope, int style, boolean multipleSelection)` Creates a selection dialog that lists all types in the given scope.
`static SelectionDialog` JavaUI.`createTypeDialog​(Shell parent, IRunnableContext context, IJavaSearchScope scope, int style, boolean multipleSelection, String filter)` Creates a selection dialog that lists all types in the given scope.
`static SelectionDialog` JavaUI.`createTypeDialog​(Shell parent, IRunnableContext context, IJavaSearchScope scope, int style, boolean multipleSelection, String filter, TypeSelectionExtension extension)` Creates a selection dialog that lists all types in the given scope.

### Uses of IJavaSearchScope in org.eclipse.jdt.ui.search

Methods in org.eclipse.jdt.ui.search that return IJavaSearchScope
`IJavaSearchScope` QuerySpecification.`getScope()` Returns the search scope to be used in the query.

Constructors in org.eclipse.jdt.ui.search with parameters of type IJavaSearchScope
`ElementQuerySpecification​(IJavaElement javaElement, int limitTo, IJavaSearchScope scope, String scopeDescription)` A constructor.
`PatternQuerySpecification​(String pattern, int searchFor, boolean caseSensitive, int limitTo, IJavaSearchScope scope, String scopeDescription)`