private @NotNull Runnable calcIndentAdjuster(@NotNull ProgressIndicator indicator) {
    VirtualFile file = getFile();
    IndentOptionsAdjuster adjuster = file == null ? null :
                                     new IndentOptionsDetectorImpl(myProject, file, myDocument, indicator).getIndentOptionsAdjuster();
    return adjuster != null ? () -> adjustOptions(adjuster) : EmptyRunnable.INSTANCE;
  }
private @NotNull Runnable calcIndentAdjuster(@NotNull ProgressIndicator indicator)