Modular Reasoning in the Presence of Event Subtyping
14th International Conference on Modularity (MODULARITY'15)
Link to Published Version
Journal or Book Title
Transactions on Modularity and Composition I. Lecture Notes in Computer Science
March 16-19, 2015
Fort Collins, CO
Separating crosscutting concerns while preserving modular reasoning is challenging. Type-based interfaces (event types) separate modularized crosscutting concerns (observers) and traditional object-oriented concerns (subjects). Event types paired with event specifications were shown to be effective in enabling modular reasoning about subjects and observers. Similar to class subtyping, organizing event types into subtyping hierarchies is beneficial. However, unrelated behaviors of observers and their arbitrary execution orders could cause unique, somewhat counterintuitive, reasoning challenges in the presence of event subtyping. These challenges threaten both tractability of reasoning and reuse of event types. This work makes three contributions. First, we pose and explain these challenges. Second, we propose an event-based calculus to show how these challenges can be overcome. Finally, we present modular reasoning rules of our technique and show its applicability to other event-based techniques.
Springer International Publishing Switzerland
Bagherzadeh, Mehdi; Dyer, Robert; Fernado, Rex D.; Sanchez, Jose; and Rajan, Hridesh, "Modular Reasoning in the Presence of Event Subtyping" (2016). Computer Science Conference Presentations, Posters and Proceedings. 8.