【发布时间】:2012-10-19 14:46:12
【问题描述】:
我目前正在使用 aspectJ @Around 来检查我的代码。我正在使用 aspectJ 编译器来编织方面。但是,在运行时,我也在使用反射type.getDeclaredMethods() 分析类的结构。但是我需要区分哪些方法最初存在,哪些方法是由 aspectJ 编译器添加的。可能吗?还是有一些解决方法?
提前致谢。
【问题讨论】:
标签: java reflection aspectj compile-time-weaving