public class CombinationAnnotationElement extends Object implements AnnotatedElement, Serializable
| 构造器和说明 |
|---|
CombinationAnnotationElement(AnnotatedElement element)
构造
|
| 限定符和类型 | 方法和说明 |
|---|---|
<T extends Annotation> |
getAnnotation(Class<T> annotationClass) |
Annotation[] |
getAnnotations() |
Annotation[] |
getDeclaredAnnotations() |
boolean |
isAnnotationPresent(Class<? extends Annotation> annotationClass) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAnnotationsByType, getDeclaredAnnotation, getDeclaredAnnotationsByTypepublic CombinationAnnotationElement(AnnotatedElement element)
element - 需要解析注解的元素:可以是Class、Method、Field、Constructor、ReflectPermissionpublic boolean isAnnotationPresent(Class<? extends Annotation> annotationClass)
isAnnotationPresent 在接口中 AnnotatedElementpublic <T extends Annotation> T getAnnotation(Class<T> annotationClass)
getAnnotation 在接口中 AnnotatedElementpublic Annotation[] getAnnotations()
getAnnotations 在接口中 AnnotatedElementpublic Annotation[] getDeclaredAnnotations()
getDeclaredAnnotations 在接口中 AnnotatedElementCopyright © 2020. All rights reserved.