public abstract class RequestResultProcessor
extends java.lang.Object
ReferencesSearch.SearchParameters#getOptimizer() and passing this processor together with search string and some other parameters to
 SearchRequestCollector.searchWord(String, SearchScope, short, boolean, PsiElement, RequestResultProcessor).| Modifier and Type | Class and Description | 
|---|---|
static class  | 
RequestResultProcessor.BulkResultProcessor
A variant of  
RequestResultProcessor that processes all text occurrences at once, e.g. | 
| Modifier | Constructor and Description | 
|---|---|
protected  | 
RequestResultProcessor(java.lang.Object... equality)  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
equals(java.lang.Object o)  | 
int | 
hashCode()  | 
abstract boolean | 
processTextOccurrence(PsiElement element,
                     int offsetInElement,
                     Processor<? super PsiReference> consumer)
For every occurrence of the search string in the search scope, the infrastructure invokes this method for every PSI element having that
 occurrence inside, from leaf elements up the tree until file element. 
 | 
protected RequestResultProcessor(java.lang.Object... equality)
equality - this processor's equals/hashCode will delegate to this objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic abstract boolean processTextOccurrence(PsiElement element, int offsetInElement, Processor<? super PsiReference> consumer)
consumer.
 If you wish to process all offsets in the scope (e.g. file) at once, extend RequestResultProcessor.BulkResultProcessor.