@Override
  public VirtualFile getClassRootForFile(@NotNull VirtualFile file) {
    WorkspaceFileSet fileSet = myWorkspaceFileIndex.findFileSet(file, true, false, true, false, false);
    if (fileSet == null) return null;
    return fileSet.getRoot();
  }
@Override
  public VirtualFile getClassRootForFile(@NotNull VirtualFile file)