public class AptHierarchyMergedAnnotation extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
AptAnnotationAttributes |
getMergedAnnotation(TypeElement annotationType)
获取合并后的注解
|
Set<AptAnnotationAttributes> |
getMergedRepeatableAnnotation(TypeElement annotationType)
获取合并后的可重复注解集合
|
List<Set<AptMergedAnnotation>> |
getSortedAnnotations()
获取按距离排序的注解映射
|
Set<AptAnnotationAttributes> |
getTopMergedRepeatableAnnotation(TypeElement annotationType)
获取合并后的可重复注解集合
|
public List<Set<AptMergedAnnotation>> getSortedAnnotations()
public AptAnnotationAttributes getMergedAnnotation(TypeElement annotationType)
annotationType - 要获取的注解类型public Set<AptAnnotationAttributes> getMergedRepeatableAnnotation(TypeElement annotationType)
annotationType - 要获取的注解类型public Set<AptAnnotationAttributes> getTopMergedRepeatableAnnotation(TypeElement annotationType)
annotationType - 要获取的注解类型Copyright © 2025 fossc. All rights reserved.