1. An aspect crosscuts the traditional class and method. 通过应用相同的代码,方面横切了传统的类和方法边界。
2. Behavior that crosscuts a number of classes poses a particular problem for integration tests. 横切数个类的行为给集成测试带来了一个特定问题。
3. It is suitable for a wide range of applications, including thin crosscuts and materials with thin-walled cross sections. 它适用于广泛的应用,包括薄横切和薄壁切面的材料。
4. Where crosscuts are staggered, the second crosscut will be determined by two crosscuts on the same side, either left or right, in the entry being traveled. 如横巷相互交叉,应在两个横巷的同一侧(或左或右,相对于进来的入口)确定第二个进入横巷。
5. The one I present in this article only crosscuts one class, but the principles are the same. Listing 1 contains one implementation of the Highlighter aspect. 我在本文中展示的这个例子只横切一个类,但是原理是一样的。