Intertype declarations (and other aspect features) are certainly testable.
类型间声明(和其他方面功能)当然是可测试的。
The new types of nodes are aspects, pointcuts, advice, intertype declarations, and declare statements, as shown below.
对AspectJ新增的节点类型有aspect、pointcut、advice、intertypedeclaration以及declarestatement,如下图所示。
AspectJ intertype declarations are used to automatically generate ID and version fields, and getters and setters for persistence fields in domain classes.
AspectJintertype声明用于自动生成id和版本字段,以及域类中持久化字段的getters和setters。
Aspects can also declare fields and methods on the behalf of another class. These are known as intertype declarations and require different content assist completions.
Aspect也可以代表其他类声明其属性和方法。
Aspects can also declare fields and methods on the behalf of another class. These are known as intertype declarations and require different content assist completions.
Aspect也可以代表其他类声明其属性和方法。
应用推荐