Byteman is a Java agent-based tool for injecting custom code into running JVMs for testing and debugging.