I am trying to analyse byte code with javassist using simple class MyData:
Here is the code I am running against this class:
It works and prints:
Reference example : https://zgrepcode.com/examples/android/javassist/bytecode/fieldinfo-implementations
Line 35 invokes method add() of collection named strings. The code snippet I posted retrieves only invokeinterface and line 35. OK, I can know that it was class field (getfield).
I would like to know how to get the rest of information:
the field name is strings
the interface method being called is add()
Can some body help me on this.