Uses of Class
org.eclipse.jdt.core.search.SearchPattern
-
Packages that use SearchPattern Package Description org.eclipse.jdt.core.search Provides support for searching the workspace Java elements that match a particular description. -
-
Uses of SearchPattern in org.eclipse.jdt.core.search
Methods in org.eclipse.jdt.core.search that return SearchPattern Modifier and Type Method Description static SearchPatternSearchPattern. createAndPattern(SearchPattern leftPattern, SearchPattern rightPattern)Deprecated.Unfortunately, this functionality is not fully supported yet (see "https://bugs.eclipse.org/bugs/show_bug.cgi?static SearchPatternSearchPattern. createOrPattern(SearchPattern leftPattern, SearchPattern rightPattern)Returns a search pattern that combines the given two patterns into an "or" pattern.static SearchPatternSearchPattern. createPattern(String stringPattern, int searchFor, int limitTo, int matchRule)Returns a search pattern based on a given string pattern.static SearchPatternSearchPattern. createPattern(IJavaElement element, int limitTo)Returns a search pattern based on a given Java element.static SearchPatternSearchPattern. createPattern(IJavaElement element, int limitTo, int matchRule)Returns a search pattern based on a given Java element.SearchPatternSearchPattern. currentPattern()abstract SearchPatternSearchPattern. getBlankPattern()Returns a blank pattern that can be used as a record to decode an index key.Methods in org.eclipse.jdt.core.search with parameters of type SearchPattern Modifier and Type Method Description voidSearchPattern. acceptMatch(String relativePath, String containerPath, char separator, SearchPattern pattern, org.eclipse.jdt.internal.core.search.IndexQueryRequestor requestor, SearchParticipant participant, IJavaSearchScope scope)voidSearchPattern. acceptMatch(String relativePath, String containerPath, char separator, SearchPattern pattern, org.eclipse.jdt.internal.core.search.IndexQueryRequestor requestor, SearchParticipant participant, IJavaSearchScope scope, IProgressMonitor monitor)static SearchPatternSearchPattern. createAndPattern(SearchPattern leftPattern, SearchPattern rightPattern)Deprecated.Unfortunately, this functionality is not fully supported yet (see "https://bugs.eclipse.org/bugs/show_bug.cgi?static SearchPatternSearchPattern. createOrPattern(SearchPattern leftPattern, SearchPattern rightPattern)Returns a search pattern that combines the given two patterns into an "or" pattern.abstract voidSearchParticipant. 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.booleanSearchPattern. matchesDecodedKey(SearchPattern decodedPattern)Returns whether this pattern matches the given pattern (representing a decoded index key).voidSearchEngine. search(SearchPattern pattern, SearchParticipant[] participants, IJavaSearchScope scope, SearchRequestor requestor, IProgressMonitor monitor)Searches for matches of a given search pattern.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.
-