The compiler takes each aspect and creates class files that contain the advice code.
编译器接受每一个方面,并建立包含通知代码的类文件。
Advice is executable code that runs when the join point is encountered during the program runs.
参考建议是一种可执行的编码,当连接点遭遇到程序运行时,它就需要运行。
It can also significantly reduce the amount of code required, by removing the need for guard code in advice methods.
它还能通过在通知方法中移除所需的保护代码,显著地减少所需代码的数量。
应用推荐