# Uses of Class
org.eclipse.jdt.core.search.SearchParticipant

Packages that use SearchParticipant
Package
Description
org.eclipse.jdt.core.search
Provides support for searching the workspace Java elements that match a particular description.

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

Subclasses of SearchParticipant in org.eclipse.jdt.core.search
Modifier and Type
Class
Description
`class`
`DerivedSourceSearchParticipant`
A search participant for non-Java source files registered under the `org.eclipse.jdt.core.javaDerivedSource` content type (e.g.
Methods in org.eclipse.jdt.core.search that return SearchParticipant
Modifier and Type
Method
Description
`static SearchParticipant`
SearchEngine.`getDefaultSearchParticipant()`
Returns a new default Java search participant.
`final SearchParticipant`
SearchDocument.`getParticipant()`
Returns the participant that created this document.
`final SearchParticipant`
SearchMatch.`getParticipant()`
Returns the search participant which issued this search match.
`static SearchParticipant[]`
SearchEngine.`getSearchParticipants()`
Returns an array of search participants that includes the default Java search participant followed by any participants contributed via the `org.eclipse.jdt.core.derivedSourceSearchParticipant` extension point.
Methods in org.eclipse.jdt.core.search with parameters of type SearchParticipant
Modifier and Type
Method
Description
`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, org.eclipse.core.runtime.IProgressMonitor monitor)`
`void`
SearchRequestor.`enterParticipant(SearchParticipant participant)`
Intermediate notification sent when the given participant starts to contribute.
`void`
SearchRequestor.`exitParticipant(SearchParticipant participant)`
Intermediate notification sent when the given participant is finished contributing.
`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, org.eclipse.core.runtime.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, org.eclipse.core.runtime.IProgressMonitor monitor)`
Query a given index for matching entries.
`void`
SearchEngine.`search(SearchPattern pattern, SearchParticipant[] participants, IJavaSearchScope scope, SearchRequestor requestor, org.eclipse.core.runtime.IProgressMonitor monitor)`
Searches for matches of a given search pattern.
`final void`
SearchMatch.`setParticipant(SearchParticipant participant)`
Sets the participant of this match.
Constructors in org.eclipse.jdt.core.search with parameters of type SearchParticipant
Modifier
Constructor
Description
``
`FieldDeclarationMatch(IJavaElement element, int accuracy, int offset, int length, SearchParticipant participant, org.eclipse.core.resources.IResource resource)`
Creates a new field declaration match.
``
`FieldReferenceMatch(IJavaElement enclosingElement, int accuracy, int offset, int length, boolean isReadAccess, boolean isWriteAccess, boolean insideDocComment, SearchParticipant participant, org.eclipse.core.resources.IResource resource)`
Creates a new field reference match.
``
`LocalVariableDeclarationMatch(IJavaElement element, int accuracy, int offset, int length, SearchParticipant participant, org.eclipse.core.resources.IResource resource)`
Creates a new local variable declaration match.
``
`LocalVariableReferenceMatch(IJavaElement enclosingElement, int accuracy, int offset, int length, boolean isReadAccess, boolean isWriteAccess, boolean insideDocComment, SearchParticipant participant, org.eclipse.core.resources.IResource resource)`
Creates a new local variable reference match.
``
`MethodDeclarationMatch(IJavaElement element, int accuracy, int offset, int length, SearchParticipant participant, org.eclipse.core.resources.IResource resource)`
Creates a new method declaration match.
``
`MethodReferenceMatch(IJavaElement enclosingElement, int accuracy, int offset, int length, boolean constructor, boolean synthetic, boolean superInvocation, boolean insideDocComment, SearchParticipant participant, org.eclipse.core.resources.IResource resource)`
Creates a new method reference match.
``
`MethodReferenceMatch(IJavaElement enclosingElement, int accuracy, int offset, int length, boolean constructor, boolean synthetic, boolean insideDocComment, SearchParticipant participant, org.eclipse.core.resources.IResource resource)`
Creates a new method reference match.
``
`MethodReferenceMatch(IJavaElement enclosingElement, int accuracy, int offset, int length, boolean insideDocComment, SearchParticipant participant, org.eclipse.core.resources.IResource resource)`
Creates a new method reference match.
``
`ModuleDeclarationMatch(IJavaElement element, int accuracy, int offset, int length, SearchParticipant participant, org.eclipse.core.resources.IResource resource)`
Creates a new type declaration match.
``
`ModuleReferenceMatch(IJavaElement enclosingElement, int accuracy, int offset, int length, boolean insideDocComment, SearchParticipant participant, org.eclipse.core.resources.IResource resource)`
Creates a new module reference match.
``
`PackageDeclarationMatch(IJavaElement element, int accuracy, int offset, int length, SearchParticipant participant, org.eclipse.core.resources.IResource resource)`
Creates a new package declaration match.
``
`PackageReferenceMatch(IJavaElement enclosingElement, int accuracy, int offset, int length, boolean insideDocComment, SearchParticipant participant, org.eclipse.core.resources.IResource resource)`
Creates a new package reference match.
``
`ReferenceMatch(IJavaElement enclosingElement, int accuracy, int offset, int length, boolean insideDocComment, SearchParticipant participant, org.eclipse.core.resources.IResource resource)`
Creates a new reference match.
`protected`
`SearchDocument(String documentPath, SearchParticipant participant)`
Creates a new search document.
``
`SearchMatch(IJavaElement element, int accuracy, int offset, int length, SearchParticipant participant, org.eclipse.core.resources.IResource resource)`
Creates a new search match.
``
`TypeDeclarationMatch(IJavaElement element, int accuracy, int offset, int length, SearchParticipant participant, org.eclipse.core.resources.IResource resource)`
Creates a new type declaration match.
``
`TypeParameterDeclarationMatch(IJavaElement element, int accuracy, int offset, int length, SearchParticipant participant, org.eclipse.core.resources.IResource resource)`
Creates a new type parameter match.
``
`TypeParameterReferenceMatch(IJavaElement enclosingElement, int accuracy, int offset, int length, boolean insideDocComment, SearchParticipant participant, org.eclipse.core.resources.IResource resource)`
Creates a new field reference match.
``
`TypeReferenceMatch(IJavaElement enclosingElement, int accuracy, int offset, int length, boolean insideDocComment, SearchParticipant participant, org.eclipse.core.resources.IResource resource)`
Creates a new type reference match.