Package org.aoju.bus.core.scanner
Interface SynthesizedProcessor
- All Known Implementing Classes:
CacheableProcessor
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
合成注解属性选择器。用于在
Synthetic中从指定类型的合成注解里获取到对应的属性值- Since:
- Java 17+
- Author:
- Kimi Liu
-
Method Summary
Modifier and TypeMethodDescription<R> RgetAttributeValue(String attributeName, Class<R> attributeType, Collection<? extends Synthesized> synthesizedAnnotations) 从一批被合成注解中,获取指定名称与类型的属性值
-
Method Details
-
getAttributeValue
<R> R getAttributeValue(String attributeName, Class<R> attributeType, Collection<? extends Synthesized> synthesizedAnnotations) 从一批被合成注解中,获取指定名称与类型的属性值- Type Parameters:
R- 属性类型- Parameters:
attributeName- 属性名称attributeType- 属性类型synthesizedAnnotations- 被合成的注解- Returns:
- 属性值
-