As far as I can tell, Java has no such equivalent of C#'s Reflection.Emit
stuff. Are there any additional libraries for Java that provide similar functionality? What are the differences (to reflection emit)?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
Besides Darin's excellent answer (+1), ASM is worth checking out too.
回答2:
The Byte Code Engineering Library (BCEL)