public class CacheableAnnotationAttribute extends Object implements AnnotationAttribute
AnnotationAttribute的基本实现| 构造器和说明 |
|---|
CacheableAnnotationAttribute(Annotation annotation,
Method attribute) |
| 限定符和类型 | 方法和说明 |
|---|---|
Annotation |
getAnnotation()
获取注解对象
|
Method |
getAttribute()
获取注解属性对应的方法
|
Object |
getValue()
获取注解属性
|
boolean |
isValueEquivalentToDefaultValue()
该注解属性的值是否等于默认值
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAnnotation, getAnnotationType, getAttributeName, getAttributeType, isWrappedpublic CacheableAnnotationAttribute(Annotation annotation, Method attribute)
public Annotation getAnnotation()
AnnotationAttributegetAnnotation 在接口中 AnnotationAttributepublic Method getAttribute()
AnnotationAttributegetAttribute 在接口中 AnnotationAttributepublic Object getValue()
AnnotationAttributegetValue 在接口中 AnnotationAttributepublic boolean isValueEquivalentToDefaultValue()
AnnotationAttributeisValueEquivalentToDefaultValue 在接口中 AnnotationAttributeCopyright © 2022. All rights reserved.