MAO: Ownership and Effects for more Effective Reasoning about Aspects







Deposit Papers 


Clifton, Curtis, Leavens, Gary T. and Noble, James (2007) MAO: Ownership and Effects for more Effective Reasoning about Aspects. Technical Report 06-35a, Computer Science, Iowa State University.

Full text available as:Adobe PDF

This is the latest version of this eprint.


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.

Keywords:Aspect-oriented programming, ownership, concern domain, control effects, heap effects, heap effect dependency, writes, curbing, spectator, AspectJ language, MAO language.
Subjects:Software: PROGRAMMING TECHNIQUES (E): General
Software: SOFTWARE ENGINEERING (K.6.3): Software/Program Verification (F.3.1)
Software: PROGRAMMING LANGUAGES: Formal Definitions and Theory (D.2.1, F.3.1-2, F.4.2-3)
Software: PROGRAMMING LANGUAGES: Language Constructs and Features (E.2)
ID code:00000540
Deposited by:Gary T. Leavens on 27 April 2007
Alternative Locations:

Available Versions of This Paper

Contact site administrator at: