Abstract
Language extensions are proposed to make aspects more natural for programmers. The extensions involve two main elements: (1) Completely separating the identification of events and locally accumulating information about them from any possible response to the events, and (2) composing both events and aspects into hierarchies that loosen the connection to code-level methods and field names. The combination of these extensions are shown (in preliminary experiments) to increase modularity, and facilitate using terminology natural for each concern. Extensions to AspectJ and Compose* are shown to illustrate how the concepts can be easily embodied in particular languages. The execution model of ALIA4J is used to present the concepts in a language-independent way, providing a prototype generic implementation of the extensions, that can be used to implement them for both AspectJ and Compose*. The extensions increase the flexibility of aspects, encourage reuse, and allow expressing events and responses to them in terms natural to the concern that an aspect treats.
| Original language | English |
|---|---|
| Title of host publication | Tenth International Conference on Aspect-Oriented Software Development, AOSD 2011 |
| Place of Publication | New York |
| Publisher | Association for Computing Machinery |
| Pages | 285-299 |
| Number of pages | 15 |
| ISBN (Print) | 978-1-4503-0605-8 |
| DOIs | |
| Publication status | Published - Mar 2011 |
| Event | 10th International Conference on Aspect-Oriented Software Development, AOSD 2011 - Porto de Galinhas, Brazil Duration: 21 Mar 2011 → 25 Mar 2011 Conference number: 10 |
Conference
| Conference | 10th International Conference on Aspect-Oriented Software Development, AOSD 2011 |
|---|---|
| Abbreviated title | AOSD |
| Country/Territory | Brazil |
| City | Porto de Galinhas |
| Period | 21/03/11 → 25/03/11 |
Keywords
- METIS-279163
- IR-77803
- Aspect Oriented Programming
- EWI-20385
- aspect and event composition
- CR-D.3
- event declarations and detectors