public class MergedAnnotation extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
Annotation |
asAnnotation() |
AnnotationAttributes |
getAnnotationAttributes() |
List<Set<MergedAnnotation>> |
getHierarchyAnnotations() |
<A extends Annotation> |
getMatchedAnnotation(Class<A> annotationType) |
<A extends Annotation> |
getMatchedRepeatableAnnotation(Class<A> annotationType) |
<A extends Annotation> |
getTopMatchedRepeatableAnnotation(Class<A> annotationType) |
boolean |
isAliasOnly()
是否仅为别名注解,不含元注解实例
|
boolean |
isRepeatable() |
public <A extends Annotation> MatchedMergedAnnotation<A> getMatchedAnnotation(Class<A> annotationType)
public <A extends Annotation> Set<MatchedMergedAnnotation<A>> getMatchedRepeatableAnnotation(Class<A> annotationType)
public <A extends Annotation> Set<MatchedMergedAnnotation<A>> getTopMatchedRepeatableAnnotation(Class<A> annotationType)
public AnnotationAttributes getAnnotationAttributes()
public List<Set<MergedAnnotation>> getHierarchyAnnotations()
public Annotation asAnnotation()
public boolean isRepeatable()
public boolean isAliasOnly()
Copyright © 2025 fossc. All rights reserved.