I need to get the correct declared annotaion-method name mapping because I am currently developing a system where the method declaration's relative orders matter.
Every test case in this system has a presetting annotation and postsetting annotation, so I need the actual delaration order to correctly execute everything in the presetting-test-postsetting sequence. I checked getMethods(), it returned methods with a random order in JDK13. Are there ways to achieve that rather than parsing code?
Anything is appreciated. Thanks.
Aucun commentaire:
Enregistrer un commentaire