Questions tagged [java-assist]

0 votes
0 replies
Instrument DB and http service call response time
I am building an java-agent which basically instrument to capture the response time of an DB or http call. One way is to write an annotation and...
asked 4 months ago
1 votes
1 replies
Errors modifying an existing class using JavaAssist
I'm working on the following CodeWars challenge : https://www.codewars.com/kata/hack-22/train/java Here's what I've written : public static Yo...
0 votes
1 replies
How to swap method bodies under Android
In pure Java, using intrumentation and java agents, there is a way to replace the body of a method at runtime. Unfrotunately java.lang.instrumen...
asked 3 months ago