private Class<?> getCorrectedClass(final Object bean) {
        Class<?> clazz = bean.getClass();
        if (AopUtils.isAopProxy(bean)) {
            clazz = AopUtils.getTargetClass(bean);
        }
        return clazz;
    }
Gets annotation from Bean Class.

@param annotationClass annotation class
@param <A>             class extend Annotation
@return annotation
shenyu-client/shenyu-client-core/src/main/java/org/apache/shenyu/client/core/register/ApiBean.java