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, wait
getAnnotation, getAnnotationType, getAttributeName, getAttributeType, isWrapped
public CacheableAnnotationAttribute(Annotation annotation, Method attribute)
public Annotation getAnnotation()
AnnotationAttribute
getAnnotation
in interface AnnotationAttribute
public Method getAttribute()
AnnotationAttribute
getAttribute
in interface AnnotationAttribute
public Object getValue()
AnnotationAttribute
getValue
in interface AnnotationAttribute
public boolean isValueEquivalentToDefaultValue()
AnnotationAttribute
isValueEquivalentToDefaultValue
in interface AnnotationAttribute
Copyright © 2024. All rights reserved.