@Override
  public boolean hasSyntaxErrors(@NotNull VirtualFile file) {
    return myDelegate != null && myDelegate.hasSyntaxErrors(file);
  }
@Override
  public boolean hasSyntaxErrors(@NotNull VirtualFile file)