public class FixedValueAnnotationAttribute extends AbstractWrappedAnnotationAttribute
linked, original| 构造器和说明 |
|---|
FixedValueAnnotationAttribute(AnnotationAttribute original,
Object value) |
| 限定符和类型 | 方法和说明 |
|---|---|
Object |
getValue()
获取注解属性
|
boolean |
isValueEquivalentToDefaultValue()
该注解属性的值是否等于默认值
默认仅当 WrappedAnnotationAttribute.getOriginal()与WrappedAnnotationAttribute.getLinked()返回的注解属性
都为默认值时,才返回true |
getAllLinkedNonWrappedAttributes, getNonWrappedOriginalclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAnnotation, getAttribute, getAttributeType, getLinked, getOriginal, isWrappedgetAnnotationType, getAttributeNamepublic FixedValueAnnotationAttribute(AnnotationAttribute original, Object value)
public boolean isValueEquivalentToDefaultValue()
WrappedAnnotationAttributeWrappedAnnotationAttribute.getOriginal()与WrappedAnnotationAttribute.getLinked()返回的注解属性
都为默认值时,才返回truepublic Object getValue()
AnnotationAttributeCopyright © 2022. All rights reserved.