I found this thread: How to change annotation value at runtime using reflection?
And I\'m trying to change method annotation, but java.lang.reflect.Method does not c
I wrote a class AnnotationUtil to resolve the seris requirements.
AnnotationUtil
It can add/remove/change annotation value on class/field/method instance.
Note that use ReflectUtil to get root field/method when add/remove annotation.
ReflectUtil
See it on github: