Java元编程

类加载
http://tutorials.jenkov.com/java-reflection/dynamic-class-loading-reloading.html

Java元编程
https://www.quora.com/Is-it-possible-to-do-metaprogramming-in-Java
http://stackoverflow.com/questions/8387506/java-static-metaprogramming/43671019#43671019
http://stackoverflow.com/questions/8868102/java-metaprogramming
http://stackoverflow.com/questions/112320/is-static-metaprogramming-possible-in-java

lombok
http://notatube.blogspot.hk/2010/12/project-lombok-creating-custom.html
http://notatube.blogspot.com/2010/11/project-lombok-trick-explained.html
http://stackoverflow.com/questions/6107197/how-does-lombok-work

热加载
https://my.oschina.net/xianggao/blog/364068
Annotation Processing
http://hannesdorfmann.com/annotation-processing/annotationprocessing101
https://github.com/google/auto

代码生成
https://github.com/square/javapoet

字节码增强
http://www.infoq.com/cn/articles/cf-java-byte-code

发表评论

电子邮件地址不会被公开。 必填项已用*标注