![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来暴露？

return Collections.emptySet();
        }
        Set<Class<T>> hierarchicalTypes = new LinkedHashSet<>();
        if (matchType.isAssignableFrom(sourceClass)) {
            hierarchicalTypes.add((Class<T>) sourceClass);
        }
        
        hierarchicalTypes.addAll(findHierarchicalTypes(sourceClass.getSuperclass(), matchType));
        return unmodifiableSet(hierarchicalTypes);
    }
    /**
     * Get the value from the specified bean and its property.
     *
     * @param bean         the bean instance
     * @param propertyName the name of property
     * @param <T>          the type of property value
     * @return
     * @since 2.7.5
     */
    public static <T> T getProperty(Object bean, String propertyName) {
        Class<?> beanClass = bean.getClass();
        BeanInfo beanInfo = null;
        T propertyValue = null;
        try {
            beanInfo = Introspector.getBeanInfo(beanClass);
            propertyValue = (T) Stream.of(beanInfo.getPropertyDescriptors())
                    .filter(propertyDescriptor -> propertyName.equals(propertyDescriptor.getName()))
                    .map(PropertyDescriptor::getReadMethod)
                    .findFirst()
                    .map(method -> {