public final class SingleTargetRequestResultProcessor extends RequestResultProcessor
RequestResultProcessor.BulkResultProcessor| Constructor and Description |
|---|
SingleTargetRequestResultProcessor(PsiElement target) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
java.lang.String |
toString() |
equals, hashCodepublic SingleTargetRequestResultProcessor(PsiElement target)
public boolean processTextOccurrence(PsiElement element, int offsetInElement, Processor<? super PsiReference> consumer)
RequestResultProcessorconsumer.
If you wish to process all offsets in the scope (e.g. file) at once, extend RequestResultProcessor.BulkResultProcessor.processTextOccurrence in class RequestResultProcessorpublic java.lang.String toString()
toString in class java.lang.Object