public @NonNls String someDocumentDebugInfo(@NotNull Document document) {
    FileViewProvider viewProvider = getCachedViewProvider(document);
    return "cachedProvider: " + viewProvider +
           "; isEventSystemEnabled: " + isEventSystemEnabled(document) +
           "; isCommitted:"+isCommitted(document)+
           "; myIsCommitInProgress:"+isCommitInProgress()+
           "; isInUncommittedSet:"+isInUncommittedSet(document);
  }
public @NonNls String someDocumentDebugInfo(@NotNull Document document)