|
BodyInjector (Java)
BodyInjector (Java):
It uses ASM ObjectWeb!
Will inject method body (instructions + local variables) from an source class/method to destination class/method.
Unlike BodyCloner it will keep the old body (on destination)!
Source method should have the void return type (no return).
Attached.
New:
- updated to asm v9.9
|