Replacing a method call in a class at runtime

点点圈 提交于 2019-12-04 13:28:59

Depending on how extensive you need the changes to be, you might be able to use Javassist to modify the body of the method in question. There is a tutorial on intercepting/replacing methods using Javassist here.

Sounds like you should have a look at JRebel.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!