changeAnnotationValue

fun changeAnnotationValue(annotation: Annotation?, key: String, newValue: Any): Any

Changes the annotation value for the given key of the given annotation to newValue and returns the previous value.