By factoring some logic out of your advice and into a helper class (or method), you can write tests that check your application's crosscutting behavior independent of its crosscutting specification.
通过将一些逻辑从建议中分离到helper类中(或者方法中),可以编写与横切规范无关的、检查应用程序横切行为的测试。
Clicking within a method in the editor causes the cross References view to show any crosscutting information for that method, as illustrated in Figure 1.
在编辑器中的方法内部单击会使CrossReferences视图显示该方法的横切信息,如图1所示。
The method can reduce the code redundancy, enhance the reuse of common services among federates and federation, and compensate OOP insufficiency in solving the crosscutting problems.
该方法可以降低代码的冗余度,提高分布式仿真中联邦间公用服务的重用性,弥补OOP在解决横切问题上的不足。
A novel method to discover crosscutting concerns from source-code for transformation from legacy system to Aspect-oriented system was proposed.
为了将传统方法开发的系统转换成面向方面的系统,实现关注分离,提出了一种从遗产系统中发现横切关注点的方法。
A novel method to discover crosscutting concerns from source-code for transformation from legacy system to Aspect-oriented system was proposed.
为了将传统方法开发的系统转换成面向方面的系统,实现关注分离,提出了一种从遗产系统中发现横切关注点的方法。
应用推荐