samedi 12 septembre 2020

Is visitAnnotation() always called before visitCode() in the ASM library?

I'd like to instrument only methods annotated with @Test, so before visitCode() is called, I'd like to know if it's annotated with @Test or not. From the tests I ran, I can say that visitAnnotation() was always called first, but I don't know if this is always the case, or there are exceptions.

Aucun commentaire:

Enregistrer un commentaire