public final @NotNull RefreshSession createSession(boolean async, boolean recursive, @Nullable Runnable finishRunnable) {
    return createSession(async, recursive, finishRunnable, ModalityState.defaultModalityState());
  }
public final @NotNull RefreshSession createSession(boolean async, boolean recursive, @Nullable Runnable finishRunnable)