@Override
  public String toString() {
    VirtualFile virtualFile = FileDocumentManager.getInstance().getFile(this);
    return "DocumentImpl[" + (virtualFile == null ? null : virtualFile.getName())+
           (isInEventsHandling() ? ",inEventHandling" : "") +
           (!myAssertThreading ? ",nonWriteThreadOnly" : "") +
           (myAcceptSlashR ? ",acceptSlashR" : "") +
           "]";
  }
@Override
  public String toString()