ScopeType (VirtualFile file) { if (myFileIndex.isInLibraryClasses(file) || myFileIndex.isInLibrarySource(file)) return ScopeType.LIB; if (myFileIndex.isInTestSourceContent(file)) return ScopeType.TEST; return ScopeType.SOURCE; }