private @NotNull FormattingProgressCallback getProgressCallback() {
    FormattingProgressCallback result = myProgressTask.get();
    return result == null ? FormattingProgressCallback.EMPTY : result;
  }
private @NotNull FormattingProgressCallback getProgressCallback()