public class TextOccurrencesUtil
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static void |
addTextOccurences(PsiElement element,
java.lang.String stringToSearch,
GlobalSearchScope searchScope,
java.util.Collection<? super UsageInfo> results,
UsageInfoFactory factory)
|
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 void |
addUsagesInStringsAndComments(PsiElement element,
java.lang.String stringToSearch,
java.util.Collection<? super UsageInfo> results,
UsageInfoFactory factory)
|
static void |
findNonCodeUsages(PsiElement element,
SearchScope searchScope,
java.lang.String stringToSearch,
boolean searchInStringsAndComments,
boolean searchInNonJavaFiles,
java.lang.String newQName,
java.util.Collection<? super UsageInfo> results) |
static void |
findNonCodeUsages(PsiElement element,
java.lang.String stringToSearch,
boolean searchInStringsAndComments,
boolean searchInNonJavaFiles,
java.lang.String newQName,
java.util.Collection<? super UsageInfo> results)
|
static boolean |
isSearchTextOccurrencesEnabled(PsiElement element) |
static boolean |
processUsagesInStringsAndComments(PsiElement element,
SearchScope searchScope,
java.lang.String stringToSearch,
boolean ignoreReferences,
PairProcessor<? super PsiElement,? super TextRange> processor) |
static boolean |
processUsagesInStringsAndComments(PsiElement element,
java.lang.String stringToSearch,
boolean ignoreReferences,
PairProcessor<? super PsiElement,? super TextRange> processor)
|
@Deprecated public static void addTextOccurences(PsiElement element, java.lang.String stringToSearch, GlobalSearchScope searchScope, java.util.Collection<? super UsageInfo> results, UsageInfoFactory factory)
public static void addTextOccurrences(PsiElement element, java.lang.String stringToSearch, GlobalSearchScope searchScope, java.util.Collection<? super UsageInfo> results, UsageInfoFactory factory)
@Deprecated public static boolean processUsagesInStringsAndComments(PsiElement element, java.lang.String stringToSearch, boolean ignoreReferences, PairProcessor<? super PsiElement,? super TextRange> processor)
public static boolean processUsagesInStringsAndComments(PsiElement element, SearchScope searchScope, java.lang.String stringToSearch, boolean ignoreReferences, PairProcessor<? super PsiElement,? super TextRange> processor)
@Deprecated public static void addUsagesInStringsAndComments(PsiElement element, java.lang.String stringToSearch, java.util.Collection<? super UsageInfo> results, UsageInfoFactory factory)
public static void addUsagesInStringsAndComments(PsiElement element, SearchScope searchScope, java.lang.String stringToSearch, java.util.Collection<? super UsageInfo> results, UsageInfoFactory factory)
public static boolean isSearchTextOccurrencesEnabled(PsiElement element)
@Deprecated public static void findNonCodeUsages(PsiElement element, java.lang.String stringToSearch, boolean searchInStringsAndComments, boolean searchInNonJavaFiles, java.lang.String newQName, java.util.Collection<? super UsageInfo> results)
public static void findNonCodeUsages(PsiElement element, SearchScope searchScope, java.lang.String stringToSearch, boolean searchInStringsAndComments, boolean searchInNonJavaFiles, java.lang.String newQName, java.util.Collection<? super UsageInfo> results)