public final class TextOccurrencesUtilBase
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static void |
addTextOccurrences(PsiElement element,
java.lang.String stringToSearch,
GlobalSearchScope searchScope,
java.util.Collection<? super UsageInfo> results,
UsageInfoFactory factory) |
static void |
addUsagesInStringsAndComments(PsiElement element,
SearchScope searchScope,
java.lang.String stringToSearch,
java.util.Collection<? super UsageInfo> results,
UsageInfoFactory factory) |
static boolean |
processUsagesInStringsAndComments(Processor<? super UsageInfo> processor,
PsiElement element,
SearchScope searchScope,
java.lang.String stringToSearch,
UsageInfoFactory factory) |
static boolean |
processUsagesInStringsAndComments(PsiElement element,
SearchScope searchScope,
java.lang.String stringToSearch,
boolean ignoreReferences,
PairProcessor<? super PsiElement,? super TextRange> processor) |
public static void addTextOccurrences(PsiElement element, java.lang.String stringToSearch, GlobalSearchScope searchScope, java.util.Collection<? super UsageInfo> results, UsageInfoFactory factory)
public static boolean processUsagesInStringsAndComments(Processor<? super UsageInfo> processor, PsiElement element, SearchScope searchScope, java.lang.String stringToSearch, UsageInfoFactory factory)
public static boolean processUsagesInStringsAndComments(PsiElement element, SearchScope searchScope, java.lang.String stringToSearch, boolean ignoreReferences, PairProcessor<? super PsiElement,? super TextRange> processor)
public static void addUsagesInStringsAndComments(PsiElement element, SearchScope searchScope, java.lang.String stringToSearch, java.util.Collection<? super UsageInfo> results, UsageInfoFactory factory)