code: public static NiftyProcessor processorFromTProcessor(final TProcessor standardThriftProcessor)
      {
          checkProcessMethodSignature();
  
          return new NiftyProcessor()
          {
              @Override
              public ListenableFuture<Boolean> process(TProtocol in, TProtocol out, RequestContext requestContext) throws TException
              {
                  return Futures.immediateFuture(standardThriftProcessor.process(in, out));
              }
          };
      }
docs: Adapt a {@link TProcessor} to a standard Thrift {@link NiftyProcessor}. Nifty uses this
  internally to adapt the processors generated by the standard Thrift code generator into
  instances of {@link NiftyProcessor} usable by {@link com.facebook.nifty.core.NiftyDispatcher}