boolean (@NotNull VirtualFile virtualFile) { GlobalSearchScope filter = myFilter; if (filter != null && !filter.contains(virtualFile)) { return true; } return !myIncludeTestSource && ReadAction.compute(() -> TestSourcesFilter.isTestSources(virtualFile, myProject)); }