How to find when the method(in a .class which we dont have access to source code) get invoked by some other class & is there any possibility to change the method argument using java
Asked
Active
Viewed 35 times
1
-
1Reflection might be what you're looking for: https://docs.oracle.com/javase/tutorial/reflect/index.html – Surronie Mar 14 '20 at 01:07
-
1This post could help : https://stackoverflow.com/questions/29382231/how-do-i-trace-methods-calls-in-java/29384646 – Harry Coder Mar 14 '20 at 03:19