code: public static ThreadFactory apply(final ThreadFactory threadFactory, final EventExecutor eventExecutor) {
          ObjectUtil.checkNotNull(threadFactory, "command");
          ObjectUtil.checkNotNull(eventExecutor, "eventExecutor");
          return new ThreadFactory() {
              @Override
              public Thread newThread(Runnable r) {
                  return threadFactory.newThread(apply(r, eventExecutor));
              }
          };
      }
docs: Decorate the given {@link ThreadFactory} and ensure {@link #currentExecutor()} will return {@code eventExecutor}
  when called from within the {@link Runnable} during execution.