| 程序包 | 说明 |
|---|---|
| cn.taketoday.context | |
| cn.taketoday.context.utils |
| 限定符和类型 | 方法和说明 |
|---|---|
static AnnotationAttributes |
AnnotationAttributes.fromMap(java.util.Map<java.lang.String,java.lang.Object> map) |
| 构造器和说明 |
|---|
AnnotationAttributes(AnnotationAttributes other) |
| 限定符和类型 | 方法和说明 |
|---|---|
static AnnotationAttributes |
ClassUtils.getAnnotationAttributes(java.lang.annotation.Annotation annotation)
Get Annotation Attributes from an annotation instance
|
static <T extends java.lang.annotation.Annotation> |
ClassUtils.getAnnotationAttributes(java.lang.annotation.Annotation annotation,
java.lang.Class<T> annotationClass)
Get target
AnnotationAttributes |
static <T extends java.lang.annotation.Annotation> |
ClassUtils.getTargetAnnotationAttributes(java.lang.Class<T> targetAnnotationType,
java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
Use recursive to find the target annotation instance
|
| 限定符和类型 | 方法和说明 |
|---|---|
static <T extends java.lang.annotation.Annotation> |
ClassUtils.getAnnotationAttributes(java.lang.reflect.AnnotatedElement annotatedElement,
java.lang.Class<T> annotationClass)
Get attributes the 'key-value' of annotations
|
| 限定符和类型 | 方法和说明 |
|---|---|
static <T extends java.lang.annotation.Annotation> |
ClassUtils.getAnnotationProxy(java.lang.Class<T> annotationClass,
AnnotationAttributes attributes)
Get Annotation by proxy
|
Copyright © 2019 TODAY. All rights reserved.