diffuse
diffuse copied to clipboard
Request for method annotation in the method signature
I'd like to use dex-method-list to find all the test methods in my apk. Our tests, unfortunately, don't follow a convention that I can use to parse them out, instead we rely on @Test annotations.
It would be very nice if the annotations of the method could be available, perhaps behind an option.
I tried to implement this myself, but I got stuck with the DEX file format and did not get the correct annotations out. Here is my WIP
https://github.com/andersjanmyr/dex-method-list/blob/add_annotations_methods/src/main/kotlin/com/jakewharton/dex/DexMethods.kt#L103-L126
If you can give me a pointer in the right direction, I would very much appreciate it.