protected void doAddSearchWordInComments(final String refname) {
<BUG>helper.processAllFilesWithWordInComments(refname, (GlobalSearchScope)context.getOptions().getScope(), new MyFileProcessor());
}</BUG>
protected void doAddSearchWordInLiterals(final String refname) {
<BUG>helper.processAllFilesWithWordInLiterals(refname, (GlobalSearchScope)context.getOptions().getScope(), new MyFileProcessor());
}</BUG>
public void endTransaction() {
super.endTransaction();
THashMap<PsiFile,PsiFile> map = filesToScan;
if (map.size() > 0) map.clear();

protected void doAddSearchWordInComments(final String refname) {
final MatchOptions options = context.getOptions();
CacheManager.SERVICE.getInstance(myProject).processFilesWithWord(new MyFileProcessor(), refname, UsageSearchContext.IN_COMMENTS,
(GlobalSearchScope)options.getScope(), options.isCaseSensitiveMatch());
}
protected void doAddSearchWordInLiterals(final String refname) {
final MatchOptions options = context.getOptions();
CacheManager.SERVICE.getInstance(myProject).processFilesWithWord(new MyFileProcessor(), refname, UsageSearchContext.IN_STRINGS,
(GlobalSearchScope)options.getScope(), options.isCaseSensitiveMatch());
}
public void endTransaction() {
super.endTransaction();
THashMap<PsiFile,PsiFile> map = filesToScan;
if (map.size() > 0) map.clear();
