public class CombinationAnnotationElement
extends java.lang.Object
implements java.lang.reflect.AnnotatedElement
| 构造器和说明 |
|---|
CombinationAnnotationElement(java.lang.reflect.AnnotatedElement element)
构造
|
| 限定符和类型 | 方法和说明 |
|---|---|
<T extends java.lang.annotation.Annotation> |
getAnnotation(java.lang.Class<T> annotationClass) |
java.lang.annotation.Annotation[] |
getAnnotations() |
java.lang.annotation.Annotation[] |
getDeclaredAnnotations() |
boolean |
isAnnotationPresent(java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass) |
public CombinationAnnotationElement(java.lang.reflect.AnnotatedElement element)
element - 需要解析注解的元素:可以是Class、Method、Field、Constructor、ReflectPermissionpublic boolean isAnnotationPresent(java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass)
isAnnotationPresent 在接口中 java.lang.reflect.AnnotatedElementpublic <T extends java.lang.annotation.Annotation> T getAnnotation(java.lang.Class<T> annotationClass)
getAnnotation 在接口中 java.lang.reflect.AnnotatedElementpublic java.lang.annotation.Annotation[] getAnnotations()
getAnnotations 在接口中 java.lang.reflect.AnnotatedElementpublic java.lang.annotation.Annotation[] getDeclaredAnnotations()
getDeclaredAnnotations 在接口中 java.lang.reflect.AnnotatedElementCopyright © 2018. All rights reserved.