| 程序包 | 说明 |
|---|---|
| top.xiajibagao.powerfulannotation.synthesis |
提供基于
HierarchicalAnnotation的注解合成相关类及注解 |
| top.xiajibagao.powerfulannotation.synthesis.resolver |
提供用于
AnnotationSynthesizer的注解解析器 |
| 限定符和类型 | 方法和说明 |
|---|---|
static RelationType |
RelationType.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static RelationType[] |
RelationType.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
| 限定符和类型 | 方法和说明 |
|---|---|
protected abstract RelationType[] |
AbstractDynamicAttributeResolver.processTypes()
当属性上存在
Link注解时,仅当Link.type()在本方法返回值内存在时才进行处理 |
protected RelationType[] |
AliasAttributeResolver.processTypes()
|
protected RelationType[] |
MirrorAttributeResolver.processTypes()
该处理器只处理
Link.type()类型为MIRROR_FOR的注解属性 |
| 限定符和类型 | 方法和说明 |
|---|---|
protected Link |
AbstractDynamicAttributeResolver.getAttributeAnnotation(AnnotationAttribute attribute,
RelationType... relationTypes)
从注解属性上获取指定类型的
Link注解 |
Copyright © 2022. All rights reserved.