@FunctionalInterface public interface SynthesizedAnnotationAttributeProcessor
SynthesizedAggregateAnnotation
中从指定类型的合成注解里获取到对应的属性值Modifier and Type | Method and Description |
---|---|
<R> R |
getAttributeValue(String attributeName,
Class<R> attributeType,
Collection<? extends SynthesizedAnnotation> synthesizedAnnotations)
从一批被合成注解中,获取指定名称与类型的属性值
|
<R> R getAttributeValue(String attributeName, Class<R> attributeType, Collection<? extends SynthesizedAnnotation> synthesizedAnnotations)
R
- 属性类型attributeName
- 属性名称attributeType
- 属性类型synthesizedAnnotations
- 被合成的注解Copyright © 2024. All rights reserved.