ThriftFunction(ProcessFunction<?, ?> func) throws Exception { this(func.getMethodName(), func, Type.SYNC, getResultType(func)); }
private static Class<TBase<TBase<?, ?>, TFieldIdEnum>> getResultType(ProcessFunction<?, ?> func) { return getResultType0(Type.SYNC, func.getClass(), func.getMethodName()); }