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.
在编辑器中的方法内部单击会使Cross References视图显示该方法的横切信息,如图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在解决横切问题上的不足。
应用推荐