private String getMethodUri(Object target) {
   String methodUri = ThriftConstants.UNKNOWN_METHOD_URI;
   InterceptorScopeInvocation currentTransaction = this.scope.getCurrentInvocation();
   Object attachment = currentTransaction.getAttachment();
   if (attachment instanceof ThriftClientCallContext && target instanceof TBaseAsyncProcessor) {
     ThriftClientCallContext clientCallContext = (ThriftClientCallContext) attachment;
     String methodName = clientCallContext.getMethodName();
     methodUri = ThriftUtils.getAsyncProcessorNameAsUri((TBaseAsyncProcessor<?>) target);
     StringBuilder sb = new StringBuilder(methodUri);
     if (!methodUri.endsWith("/")) {
       sb.append("/");
     }
     sb.append(methodName);
     methodUri = sb.toString();
   }
   return methodUri;
 }