@Override
  public boolean contains(@NotNull VirtualFile file) {
    Module moduleOfFile = myProjectFileIndex.getModuleForFile(file);
    return moduleOfFile != null && myModules.contains(moduleOfFile);
  }
@Override
  public boolean contains(@NotNull VirtualFile file)