public static <T, E extends Throwable> T writeAndCompute(@NotNull ThrowableComputable<T, E> action) throws E {
    if (PREVIEW_EDITOR.get() != null) {
      return action.compute();
    } else {
      return WriteAction.compute(action);
    }
  }
public static <T, E extends Throwable> T writeAndCompute(@NotNull ThrowableComputable<T, E> action)