Java Equivalent of Reflection.Emit

浪尽此生 提交于 2019-12-18 03:06:16

问题


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)



来源:https://stackoverflow.com/questions/2259323/java-equivalent-of-reflection-emit

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