接口 AnnotatedElementMetadata

    • 方法详细资料

      • getValue

        <T,​A extends AnnotationOptional<T> getValue​(Class<A> annotationType,
                                                            String attributeName,
                                                            Class<T> type)
        获取注解的指定属性值
        类型参数:
        T - 值类型泛型
        A - 注解泛型
        参数:
        annotationType - 注解类型
        attributeName - 注解的属性
        type - 值类型
        返回: