Method Summary |
|
final public void | clearResults() Clears all results found so far, and sets resets the status to
RefactoringStatus.OK . |
final public ICompilationUnit[] | getAffectedCompilationUnits() Returns the affected compilation units of the previous search queries. |
final public Map | getAffectedProjects() Returns the affected java projects of the previous search queries. |
final public SearchPattern | getPattern() Returns the search pattern currently used for searching. |
final public Object[] | getResults() Returns the results of the previous search queries. |
final public RefactoringStatus | getStatus() Returns the refactoring status of this search engine. |
final public void | searchPattern(IProgressMonitor monitor) Performs the search according to the specified pattern. |
final public void | searchReferencedFields(IJavaElement element, IProgressMonitor monitor) Performs the search of referenced fields. |
final public void | searchReferencedMethods(IJavaElement element, IProgressMonitor monitor) Performs the search of referenced methods. |
final public void | searchReferencedTypes(IJavaElement element, IProgressMonitor monitor) Performs the search of referenced types. |
final public void | setFiltering(boolean inaccurate, boolean binary) Determines how search matches are filtered.
This method must be called before start searching. |
final public void | setGranularity(int granularity) Sets the granularity to use during the searches.
This method must be called before start searching. |
final public void | setGrouping(boolean grouping) Determines how search matches are grouped.
This method must be called before start searching. |
final public void | setOrPattern(SearchPattern first, SearchPattern second) Sets the disjunction of search patterns to be used during search. |
final public void | setOwner(WorkingCopyOwner owner) Sets the working copy owner to use during search.
This method must be called before start searching. |
final public void | setPattern(IJavaElement[] elements, int limitTo) Sets the search pattern to be used during search.
This method must be called before
RefactoringSearchEngine2.searchPattern(IProgressMonitor) Parameters: elements - the set of elements Parameters: limitTo - determines the nature of the expected matches. |
final public void | setPattern(SearchPattern pattern) Sets the search pattern to be used during search. |
final public void | setRequestor(IRefactoringSearchRequestor requestor) Sets the search requestor for this search engine.
This method must be called before start searching. |
final public void | setScope(IJavaSearchScope scope) Sets the search scope for this search engine.
This method must be called before start searching. |
final public void | setSeverity(int severity) Sets the severity of the generated status entries.
This method must be called before start searching. |
final public void | setStatus(RefactoringStatus status) Sets the refactoring status for this search engine.
This method must be called before start searching. |
final public void | setWorkingCopies(ICompilationUnit[] copies) Sets the working copies to take precedence during the searches.
This method must be called before start searching. |