说到代码插桩,你可能会想到 AspectJ、Transfrom Api + ASM 等等。好在前段时间,我遇到了新的方法 —— AnnotationProcessor。
Design patterns implemented in Java