I found this thread: How to change annotation value at runtime using reflection?
And I trying to change method annotation, but java.lang.reflect.Method don't contains any map-field like "annotations" or method like "getDeclaredAnnotationMap"
There is only private byte[] annotations
but what can I do with this byte array?
So, how to modify annotation of method?
Aucun commentaire:
Enregistrer un commentaire