Java org.eclipse.jdt.core.search SearchPattern fields, constructors, methods, implement or subclass

Example usage for Java org.eclipse.jdt.core.search SearchPattern fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.eclipse.jdt.core.search SearchPattern.

The text is from its open source code.

Field

intR_EXACT_MATCH
Match rule: The search pattern matches exactly the search result, that is, the source of the search result equals the search pattern.
intR_PREFIX_MATCH
Match rule: The search pattern is a prefix of the search result.
intR_PATTERN_MATCH
Match rule: The search pattern contains one or more wild cards ('*' or '?').
intR_REGEXP_MATCH
Match rule: The search pattern contains a regular expression.
intR_CASE_SENSITIVE
Match rule: The search pattern matches the search result only if cases are the same.
intR_ERASURE_MATCH
Match rule: The search pattern matches search results as raw/parameterized types/methods with same erasure.
intR_EQUIVALENT_MATCH
Match rule: The search pattern matches search results as raw/parameterized types/methods with equivalent type parameters.
intR_FULL_MATCH
Match rule: The search pattern matches exactly the search result, that is, the source of the search result equals the search pattern.
intR_CAMELCASE_MATCH
Match rule: The search pattern contains a Camel Case expression.

Method

SearchPatterncreateOrPattern(SearchPattern leftPattern, SearchPattern rightPattern)
Returns a search pattern that combines the given two patterns into an "or" pattern.
SearchPatterncreatePattern(String stringPattern, int searchFor, int limitTo, int matchRule)
Returns a search pattern based on a given string pattern.
SearchPatterncreatePattern(IJavaElement element, int limitTo)
Returns a search pattern based on a given Java element.
SearchPatterncreatePattern(IJavaElement element, int limitTo, int matchRule)
Returns a search pattern based on a given Java element.
voidfindIndexMatches(Index index, IndexQueryRequestor requestor, SearchParticipant participant, IJavaSearchScope scope, IProgressMonitor monitor)
Query a given index for matching entries.
intvalidateMatchRule(String stringPattern, int matchRule)
Validate compatibility between given string pattern and match rule.