Interface AnnotationValue
- All Known Implementing Classes:
AnnotationValueImpl
public interface AnnotationValue
-
Method Summary
Modifier and TypeMethodDescriptionasByte()asDouble()asFloat()asLong()asShort()asString()asType()voidconsume(AnnotationValueConsumer consumer) booleanis this the default value specified in the annotation?<T> Tmap(AnnotationValueMapper<T> mapper) toString()callstoStringon the underlying value
-
Method Details
-
consume
-
map
-
isDefaultValue
boolean isDefaultValue()is this the default value specified in the annotation? -
asString
String asString() -
asBoolean
Boolean asBoolean() -
asByte
Byte asByte() -
asShort
Short asShort() -
asInteger
Integer asInteger() -
asLong
Long asLong() -
asCharacter
Character asCharacter() -
asFloat
Float asFloat() -
asDouble
Double asDouble() -
asType
Shadow<TypeMirror> asType() -
asEnumConstant
EnumConstant asEnumConstant() -
asAnnotationUsage
AnnotationUsage asAnnotationUsage() -
asListOfValues
List<AnnotationValue> asListOfValues() -
getAnnotationValue
AnnotationValue getAnnotationValue() -
toString
String toString()callstoStringon the underlying value
-