Class AnnotationValueImpl
java.lang.Object
io.determann.shadow.impl.annotationvalue.AnnotationValueImpl
- All Implemented Interfaces:
AnnotationValue
-
Method Summary
Modifier and TypeMethodDescriptionasByte()asDouble()asFloat()asLong()asShort()asString()asType()voidconsume(AnnotationValueConsumer consumer) booleaninthashCode()booleanis this the default value specified in the annotation?<T> Tmap(AnnotationValueMapper<T> mapper) toString()callstoStringon the underlying value
-
Method Details
-
asString
- Specified by:
asStringin interfaceAnnotationValue
-
asBoolean
- Specified by:
asBooleanin interfaceAnnotationValue
-
asByte
- Specified by:
asBytein interfaceAnnotationValue
-
asShort
- Specified by:
asShortin interfaceAnnotationValue
-
asInteger
- Specified by:
asIntegerin interfaceAnnotationValue
-
asLong
- Specified by:
asLongin interfaceAnnotationValue
-
asCharacter
- Specified by:
asCharacterin interfaceAnnotationValue
-
asFloat
- Specified by:
asFloatin interfaceAnnotationValue
-
asDouble
- Specified by:
asDoublein interfaceAnnotationValue
-
asType
- Specified by:
asTypein interfaceAnnotationValue
-
asEnumConstant
- Specified by:
asEnumConstantin interfaceAnnotationValue
-
asAnnotationUsage
- Specified by:
asAnnotationUsagein interfaceAnnotationValue
-
asListOfValues
- Specified by:
asListOfValuesin interfaceAnnotationValue
-
isDefaultValue
public boolean isDefaultValue()Description copied from interface:AnnotationValueis this the default value specified in the annotation?- Specified by:
isDefaultValuein interfaceAnnotationValue
-
consume
- Specified by:
consumein interfaceAnnotationValue
-
map
- Specified by:
mapin interfaceAnnotationValue
-
getAnnotationValue
- Specified by:
getAnnotationValuein interfaceAnnotationValue
-
equals
-
hashCode
public int hashCode() -
toString
Description copied from interface:AnnotationValuecallstoStringon the underlying value- Specified by:
toStringin interfaceAnnotationValue- Overrides:
toStringin classObject
-