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