首页> 外文会议>European Conference on Object-Oriented Programming; 20070730-0803; Berlin(DE) >MAO: Ownership and Effects for More Effective Reasoning About Aspects
【24h】

MAO: Ownership and Effects for More Effective Reasoning About Aspects

机译:MAO:所有权和对方面进行更有效推理的影响

获取原文
获取原文并翻译 | 示例

摘要

Aspect-oriented advice increases the number of places one must consider during reasoning, since advice may affect all method calls and field accesses. MAO, a new variant of AspectJ, demonstrates how to simplify reasoning by allowing programmers, if they choose, to declare limits on the control and heap effects of advice. Heap effects, such as assignment to object fields, are specified using concern domains-declared partitions of the heap. By declaring the concern domains affected by methods and advice, programmers can separate objects owned by the base program and by various aspects. When desired, programmers can also use such concern domain annotations to check that advice cannot interfere with the base program or with other aspects. Besides allowing programmers to declare how concerns interact in a program, concern domains also support a simple kind of semantic pointcut. These features make reasoning about control and heap effects easier.
机译:面向方面的建议会增加推理过程中必须考虑的位置数量,因为建议可能会影响所有方法调用和字段访问。 MAO是AspectJ的新变体,演示了如何通过允许程序员(如果愿意)声明对通知的控制和堆效应的限制来简化推理。堆效果(例如分配给对象字段)是使用关注域声明的堆分区指定的。通过声明受方法和建议影响的关注域,程序员可以分离基础程序和各个方面所拥有的对象。在需要时,程序员还可以使用此类关注领域注释来检查建议是否不会干扰基础程序或其他方面。除了允许程序员声明关注点如何在程序中交互之外,关注域还支持一种简单的语义切入点。这些功能使对控制和堆效应的推理更加容易。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号