mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
use PsiShortNamesCache as independent service
This commit is contained in:
@@ -60,7 +60,7 @@ public class YourkitFilter implements Filter{
|
||||
|
||||
final int textStartOffset = entireLength - line.length();
|
||||
|
||||
final PsiShortNamesCache cache = JavaPsiFacade.getInstance(myProject).getShortNamesCache();
|
||||
final PsiShortNamesCache cache = PsiShortNamesCache.getInstance(myProject);
|
||||
final PsiFile[] psiFiles = cache.getFilesByName(fileName);
|
||||
|
||||
if (psiFiles.length == 0) return null;
|
||||
|
||||
Reference in New Issue
Block a user