@Override
  protected void beforeDocumentChangeOnUnlockedDocument(final @NotNull FileViewProvider viewProvider) {
    PostprocessReformattingAspect.getInstance(myProject).assertDocumentChangeIsAllowed(viewProvider);
    super.beforeDocumentChangeOnUnlockedDocument(viewProvider);
  }
@Override
  protected void beforeDocumentChangeOnUnlockedDocument(final @NotNull FileViewProvider viewProvider)