问题
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