Decoupling context: introducing quantification in object teams

  • Authors:
  • Andreas Mertgen

  • Affiliations:
  • Berlin Institute of Technology, Berlin, Germany

  • Venue:
  • Proceedings of the 2012 workshop on Modularity in Systems Software
  • Year:
  • 2012

Quantified Score

Hi-index 0.00

Visualization

Abstract

In this paper, we propose role-oriented programming, which is realized in the language Object Teams/Java, as an alternative approach toward modularizing context-dependent concerns. We aim to integrate the benefits of quantification without introducing issues related to encapsulation and robustness. A language extension to Object Teams is presented by combining quantification with role-playing. It is achieved by querying the static program structure and transforming the code by using logic meta programming in Prolog. We discuss the query mechanism in detail in the text.