code: public final void startSpanAndRun(final Runnable runnable) {
      final Span span = startSpan();
      CurrentSpanUtils.withSpan(span, /* endSpan= */ true, runnable).run();
    }
docs: Starts a new span and runs the given {@code Runnable} with the newly created {@code Span} as
  the current {@code Span}, and ends the {@code Span} after the {@code Runnable} is run.
  
  <p>Any error will end up as a {@link Status#UNKNOWN}.
  
  <pre><code>
  tracer.spanBuilder("MyRunnableSpan").startSpanAndRun(myRunnable);
  </code></pre>
  
  <p>It is equivalent with the following code:
  
  <pre><code>
  Span span = tracer.spanBuilder("MyRunnableSpan").startSpan();
  Runnable newRunnable = tracer.withSpan(span, myRunnable);
  try {
  newRunnable.run();
  } finally {
  span.end();
  }
  </code></pre>
  
  @param runnable the {@code Runnable} to run in the {@code Span}.
  @since 0.11.0