Uses of Class
org.aspectj.org.eclipse.jdt.core.search.SearchPattern
Packages that use SearchPattern
Package
Description
Provides support for searching the workspace Java
elements that match a particular description.
-
Uses of SearchPattern in org.aspectj.org.eclipse.jdt.core.search
Methods in org.aspectj.org.eclipse.jdt.core.search that return SearchPatternModifier and TypeMethodDescriptionSearchPattern.clone()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?id=142044" for more details).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.SearchPattern.currentPattern()abstract SearchPatternSearchPattern.getBlankPattern()Returns a blank pattern that can be used as a record to decode an index key.Methods in org.aspectj.org.eclipse.jdt.core.search with parameters of type SearchPatternModifier and TypeMethodDescriptionvoidSearchPattern.acceptMatch(String relativePath, String containerPath, char separator, SearchPattern pattern, IndexQueryRequestor requestor, SearchParticipant participant, IJavaSearchScope scope) voidSearchPattern.acceptMatch(String relativePath, String containerPath, char separator, SearchPattern pattern, IndexQueryRequestor requestor, SearchParticipant participant, IJavaSearchScope scope, org.eclipse.core.runtime.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?id=142044" for more details).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, org.eclipse.core.runtime.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, org.eclipse.core.runtime.IProgressMonitor monitor) Searches for matches of a given search pattern.abstract org.eclipse.core.runtime.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 SearchPattern in org.aspectj.org.eclipse.jdt.internal.core.search
Fields in org.aspectj.org.eclipse.jdt.internal.core.search declared as SearchPatternMethods in org.aspectj.org.eclipse.jdt.internal.core.search with parameters of type SearchPatternModifier and TypeMethodDescriptionabstract booleanIndexQueryRequestor.acceptIndexMatch(String documentPath, SearchPattern indexRecord, SearchParticipant participant, AccessRuleSet access) booleanPathCollector.acceptIndexMatch(String documentPath, SearchPattern indexRecord, SearchParticipant participant, AccessRuleSet access) static intIndexSelector.canSeeFocus(SearchPattern pattern, org.eclipse.core.runtime.IPath projectOrJarPath) Returns whether elements of the given project or jar can see the given focus (an IJavaProject or a JarPackageFragmentRot) either because the focus is part of the project or the jar, or because it is accessible throught the project's classpathvoidJavaSearchParticipant.locateMatches(SearchDocument[] indexMatches, SearchPattern pattern, IJavaSearchScope scope, SearchRequestor requestor, org.eclipse.core.runtime.IProgressMonitor monitor) voidBasicSearchEngine.search(SearchPattern pattern, SearchParticipant[] participants, IJavaSearchScope scope, SearchRequestor requestor, org.eclipse.core.runtime.IProgressMonitor monitor) Searches for matches of a given search pattern.voidBasicSearchEngine.searchDeclarations(IJavaElement enclosingElement, SearchRequestor requestor, SearchPattern pattern, org.eclipse.core.runtime.IProgressMonitor monitor) org.eclipse.core.runtime.IPath[]JavaSearchParticipant.selectIndexes(SearchPattern pattern, IJavaSearchScope scope) JavaSearchParticipant.selectIndexURLs(SearchPattern pattern, IJavaSearchScope scope) Constructors in org.aspectj.org.eclipse.jdt.internal.core.search with parameters of type SearchPatternModifierConstructorDescriptionIndexSelector(IJavaSearchScope searchScope, SearchPattern pattern) PatternSearchJob(SearchPattern pattern, SearchParticipant participant, IJavaSearchScope scope, boolean resolveDocumentForJar, boolean resolveDocumentForSourceFiles, IndexQueryRequestor requestor) Create a search job with the specified search pattern.PatternSearchJob(SearchPattern pattern, SearchParticipant participant, IJavaSearchScope scope, IndexQueryRequestor requestor) SubTypeSearchJob(SearchPattern pattern, SearchParticipant participant, IJavaSearchScope scope, IndexQueryRequestor requestor) -
Uses of SearchPattern in org.aspectj.org.eclipse.jdt.internal.core.search.matching
Subclasses of SearchPattern in org.aspectj.org.eclipse.jdt.internal.core.search.matchingModifier and TypeClassDescriptionclassclassclassclassclassclassclassclassQuery the index multiple times and do an 'and' on the results.classclassclassclassclassclassclassclassclassclassclassclassclassclassPattern to search type parameters.classclassFields in org.aspectj.org.eclipse.jdt.internal.core.search.matching declared as SearchPatternModifier and TypeFieldDescriptionMatchLocator.patternprotected SearchPattern[]AndPattern.patternsprotected SearchPattern[]OrPattern.patternsMethods in org.aspectj.org.eclipse.jdt.internal.core.search.matching that return SearchPatternModifier and TypeMethodDescriptionAndPattern.clone()OrPattern.clone()AndPattern.currentPattern()ConstructorDeclarationPattern.getBlankPattern()ConstructorPattern.getBlankPattern()FieldPattern.getBlankPattern()JavaSearchPattern.getBlankPattern()MethodDeclarationPattern.getBlankPattern()MethodPattern.getBlankPattern()ModulePattern.getBlankPattern()MultiTypeDeclarationPattern.getBlankPattern()OrPattern.getBlankPattern()PackageReferencePattern.getBlankPattern()QualifiedTypeDeclarationPattern.getBlankPattern()SecondaryTypeDeclarationPattern.getBlankPattern()SuperTypeReferencePattern.getBlankPattern()TypeDeclarationPattern.getBlankPattern()TypeReferencePattern.getBlankPattern()Methods in org.aspectj.org.eclipse.jdt.internal.core.search.matching with parameters of type SearchPatternModifier and TypeMethodDescriptionstatic SearchDocument[]MatchLocator.addWorkingCopies(SearchPattern pattern, SearchDocument[] indexMatches, ICompilationUnit[] copies, SearchParticipant participant) static voidMatchLocator.findIndexMatches(SearchPattern pattern, Index index, IndexQueryRequestor requestor, SearchParticipant participant, IJavaSearchScope scope, boolean resolveDocumentName, org.eclipse.core.runtime.IProgressMonitor monitor) Query a given index for matching entries.static voidMatchLocator.findIndexMatches(SearchPattern pattern, Index index, IndexQueryRequestor requestor, SearchParticipant participant, IJavaSearchScope scope, org.eclipse.core.runtime.IProgressMonitor monitor) Query a given index for matching entries.protected voidMatchLocator.locatePackageDeclarations(SearchPattern searchPattern, SearchParticipant participant, IJavaProject[] projects) Locates the package declarations corresponding to the search pattern.booleanConstructorDeclarationPattern.matchesDecodedKey(SearchPattern decodedPattern) booleanConstructorPattern.matchesDecodedKey(SearchPattern decodedPattern) booleanFieldPattern.matchesDecodedKey(SearchPattern decodedPattern) booleanMethodPattern.matchesDecodedKey(SearchPattern decodedPattern) booleanModulePattern.matchesDecodedKey(SearchPattern decodedPattern) booleanMultiTypeDeclarationPattern.matchesDecodedKey(SearchPattern decodedPattern) booleanPackageReferencePattern.matchesDecodedKey(SearchPattern decodedPattern) booleanQualifiedTypeDeclarationPattern.matchesDecodedKey(SearchPattern decodedPattern) booleanSuperTypeReferencePattern.matchesDecodedKey(SearchPattern decodedPattern) booleanTypeDeclarationPattern.matchesDecodedKey(SearchPattern decodedPattern) booleanTypeReferencePattern.matchesDecodedKey(SearchPattern decodedPattern) static PatternLocatorPatternLocator.patternLocator(SearchPattern pattern) static IJavaElementMatchLocator.projectOrJarFocus(SearchPattern pattern) static voidMatchLocator.setFocus(SearchPattern pattern, IJavaElement focus) static voidMatchLocator.setIndexQualifierQuery(SearchPattern pattern, char[] queries) Sets the qualifier queries into pattern.Constructors in org.aspectj.org.eclipse.jdt.internal.core.search.matching with parameters of type SearchPatternModifierConstructorDescriptionAndPattern(SearchPattern leftPattern, SearchPattern rightPattern) MatchLocator(SearchPattern pattern, SearchRequestor requestor, IJavaSearchScope scope, org.eclipse.core.runtime.IProgressMonitor progressMonitor) OrPattern(SearchPattern leftPattern, SearchPattern rightPattern) PatternLocator(SearchPattern pattern) SuperTypeNamesCollector(SearchPattern pattern, char[] typeSimpleName, char[] typeQualification, MatchLocator locator, IType type, org.eclipse.core.runtime.IProgressMonitor progressMonitor)