@Override
  public boolean hasSyntaxErrors(@NotNull VirtualFile file) {
    ProblemFileInfo info = myProblems.get(file);
    return info != null && info.hasSyntaxErrors;
  }
@Override
  public boolean hasSyntaxErrors(@NotNull VirtualFile file)