public class AliasAnnotationPostProcessor extends Object implements SynthesizedAnnotationPostProcessor
用于处理注解对象中带有Alias注解的属性。
当该处理器执行完毕后,Alias注解指向的目标注解的属性将会被包装并替换为
ForceAliasedAnnotationAttribute。
Alias,
ForceAliasedAnnotationAttributeALIAS_ANNOTATION_POST_PROCESSOR, ALIAS_LINK_ANNOTATION_POST_PROCESSOR, MIRROR_LINK_ANNOTATION_POST_PROCESSOR| Constructor and Description |
|---|
AliasAnnotationPostProcessor() |
| Modifier and Type | Method and Description |
|---|---|
int |
order()
在一组后置处理器中被调用的顺序,越小越靠前
|
void |
process(SynthesizedAnnotation synthesizedAnnotation,
AnnotationSynthesizer synthesizer)
给定指定被合成注解与其所属的合成注解聚合器实例,经过处理后返回最终
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcompareTopublic int order()
SynthesizedAnnotationPostProcessororder in interface SynthesizedAnnotationPostProcessorpublic void process(SynthesizedAnnotation synthesizedAnnotation, AnnotationSynthesizer synthesizer)
SynthesizedAnnotationPostProcessorprocess in interface SynthesizedAnnotationPostProcessorsynthesizedAnnotation - 合成的注解synthesizer - 注解合成器Copyright © 2025. All rights reserved.