I'm using Javassist to instrument method with specific calls.
I'm used to apply modification during class loading, but with big classes with a lot of methods to be instrumented this requires a lot of time (usually 500ms for each method).
Is there a way to intercept a method call and instrument only in that moment a specific method?
Thank you
Ale