public class CacheableAnnotationAttribute extends Object implements AnnotationAttribute
AnnotationAttribute的基本实现| Constructor and Description |
|---|
CacheableAnnotationAttribute(Annotation annotation,
Method attribute) |
| Modifier and Type | Method and Description |
|---|---|
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 in interface AnnotationAttributepublic Method getAttribute()
AnnotationAttributegetAttribute in interface AnnotationAttributepublic Object getValue()
AnnotationAttributegetValue in interface AnnotationAttributepublic boolean isValueEquivalentToDefaultValue()
AnnotationAttributeisValueEquivalentToDefaultValue in interface AnnotationAttributeCopyright © 2025. All rights reserved.