![image](https://user-images.githubusercontent.com/18097545/78014651-d54cb580-737a-11ea-809c-fe5dc884ec55.png)

dubbo 2.7.3， 同时暴露rest和dubbo，com.alibaba.dubbo.samples.echo.api.EchoService这个接口是dubbo协议的，还是当做rest来暴露？

try {
                            return method.invoke(bean);
                        } catch (Exception e) {
                        }
                        return null;
                    }).get();
        } catch (Exception e) {
        }
        return propertyValue;
    }
    /**
     * Resolve the types of the specified values
     *
     * @param values the values
     * @return If can't be resolved, return {@link ReflectUtils#EMPTY_CLASS_ARRAY empty class array}
     * @since 2.7.6
     */
    public static Class[] resolveTypes(Object... values) {
        if (isEmpty(values)) {
            return EMPTY_CLASS_ARRAY;
        }
        int size = values.length;
        Class[] types = new Class[size];
        for (int i = 0; i < size; i++) {
            Object value = values[i];
            types[i] = value == null ? null : value.getClass();
        }
        return types;
    }
}