Runnable (@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; }